зеркало из https://github.com/mozilla/pjs.git
Source allmakefiles.sh instead of running in subshell. This way it can read the variables from configure.
This commit is contained in:
Родитель
288eb59701
Коммит
a22af09164
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче