Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: RELEASE_1_0_4
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.422 kB
dnl ripped from php-src:
AC_DEFUN([DOCWEB_CONFIG_NICE],[
test -f $1 && mv $1 $1.old
rm -f $1.old
cat >$1<<EOF
#! /bin/sh
#
# Created by configure
EOF
for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LIBS CC CXX; do
eval val=\$$var
if test -n "$val"; then
echo "$var='$val' \\" >> $1
fi
done
for arg in [$]0 "[$]@"; do
echo "'[$]arg' \\" >> $1
done
echo '"[$]@"' >> $1
chmod +x $1
])
Jump to Line
Something went wrong with that request. Please try again.