[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
default configure arguments
From: |
Mirar |
Subject: |
default configure arguments |
Date: |
18 Dec 2000 10:01:50 +0100 |
I would like to store default configure arguments in a separate file
in the source tree (so I can erase the build tree without losing the
configure arguments).
How is this done best?
AC_INIT...
AC_CONFIG_HEADER...
if test -e "$srcdir/configure_args"; then
ac_arg="`cat "$srcdir/configure_args" | sed "s/'/'\\\\\\\\''/g"`"
ac_configure_args="$ac_arg $ac_configure_args"
echo "$ac_configure_args"
fi
might work, but is probably very very bad.
Any suggestions?
/Mirar
- default configure arguments,
Mirar <=