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

This commit is contained in:
slamm%netscape.com 1999-02-17 18:25:39 +00:00
Родитель 288eb59701
Коммит a22af09164
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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
}

Просмотреть файл

@ -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)