Source allmakefiles.sh instead of running in subshell. This way it can read the variables from configure.

git-svn-id: svn://10.0.0.236/trunk@20992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
slamm%netscape.com 1999-02-17 18:25:39 +00:00
parent 09ea437c91
commit 3302284007
2 changed files with 5 additions and 4 deletions

View File

@ -17,19 +17,19 @@
#
# allmakefiles.sh - List of all makefiles.
# This script outputs the list to the standard output.
# Appends the list of makefiles to the variable, MAKEFILES.
# There is no need to rerun autoconf after adding makefiles.
# You only need to run configure.
#
# Unused makefiles may be commented out with '#'.
# ('#' must be the first character on the line).
# add_makefiles - Shell function to write non-commented lines to stdout
# add_makefiles - Shell function to add makefiles to MAKEFILES
add_makefiles() {
while read line; do
case $line in
\#*|dnl*) ;;
*) echo $line ;;
*) MAKEFILES="$MAKEFILES $line" ;;
esac
done
}

View File

@ -1205,7 +1205,8 @@ done
# Load the list of Makefiles to generate.
# To add new Makefiles, edit allmakefiles.sh.
# allmakefiles.sh sets the variable, MAKEFILES.
_topsrcdir=`dirname [$]0`
MAKEFILES=`$_topsrcdir/allmakefiles.sh`
. $_topsrcdir/allmakefiles.sh
AC_OUTPUT($MAKEFILES)