Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (21 sloc) 0.422 kB
c8ae572 @scoates re-worked configure
scoates authored
1 dnl ripped from php-src:
2 AC_DEFUN([DOCWEB_CONFIG_NICE],[
3 test -f $1 && mv $1 $1.old
4 rm -f $1.old
5 cat >$1<<EOF
6 #! /bin/sh
7 #
8 # Created by configure
9
10 EOF
11
12 for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LIBS CC CXX; do
13 eval val=\$$var
14 if test -n "$val"; then
15 echo "$var='$val' \\" >> $1
16 fi
17 done
18
19 for arg in [$]0 "[$]@"; do
20 echo "'[$]arg' \\" >> $1
21 done
22 echo '"[$]@"' >> $1
23 chmod +x $1
24 ])
25
Something went wrong with that request. Please try again.