* configure: Make unrecognized options give nonfatal warnings
instead of fatal errors, and pass them to any subdirectory configures in case they recognize them. Make --x equivalent to --with-x.
This commit is contained in:
parent
250578363e
commit
9336e47ee2
2 changed files with 18 additions and 9 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Sat Mar 26 11:25:48 1994 David J. Mackenzie (djm@rtl.cygnus.com)
|
||||||
|
|
||||||
|
* configure: Make unrecognized options give nonfatal warnings
|
||||||
|
instead of fatal errors, and pass them to any subdirectory
|
||||||
|
configures in case they recognize them.
|
||||||
|
Make --x equivalent to --with-x.
|
||||||
|
|
||||||
Fri Mar 25 21:52:10 1994 David J. Mackenzie (djm@rtl.cygnus.com)
|
Fri Mar 25 21:52:10 1994 David J. Mackenzie (djm@rtl.cygnus.com)
|
||||||
|
|
||||||
* configure: Add --enable-* options. Clean up usage message and
|
* configure: Add --enable-* options. Clean up usage message and
|
||||||
|
|
20
configure
vendored
20
configure
vendored
|
@ -3,7 +3,7 @@
|
||||||
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
|
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
|
||||||
|
|
||||||
# Configuration script
|
# Configuration script
|
||||||
# Copyright (C) 1988, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
|
# Copyright (C) 1988, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
# Please email any bugs, comments, and/or additions to this file to:
|
# Please email any bugs, comments, and/or additions to this file to:
|
||||||
# configure@cygnus.com
|
# configure@cygnus.com
|
||||||
|
@ -60,6 +60,7 @@ host_alias=NOHOST
|
||||||
host_makefile_frag=
|
host_makefile_frag=
|
||||||
moveifchange=
|
moveifchange=
|
||||||
norecursion=
|
norecursion=
|
||||||
|
other_options=
|
||||||
package_makefile_frag=
|
package_makefile_frag=
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
progname=
|
progname=
|
||||||
|
@ -260,13 +261,14 @@ do
|
||||||
eval $withopt=no
|
eval $withopt=no
|
||||||
withoutoptions="$withoutoptions $option"
|
withoutoptions="$withoutoptions $option"
|
||||||
;;
|
;;
|
||||||
--x) ;;
|
--x) with_x=yes
|
||||||
|
withoptions="$withoptions --with-x"
|
||||||
|
;;
|
||||||
--*)
|
--*)
|
||||||
exec 1>&2
|
echo "Warning: Unrecognized option: \"$orig_option\"". >&2
|
||||||
echo
|
# Pass the option to any configure scripts in subdirectories
|
||||||
echo "Unrecognized option: \"$orig_option\"".
|
# in case they recognize it.
|
||||||
echo
|
other_options="$other_options $orig_option"
|
||||||
fatal=yes
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case $undefs in
|
case $undefs in
|
||||||
|
@ -929,7 +931,7 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then
|
||||||
if [ ! -z "${recprog}" ] ; then
|
if [ ! -z "${recprog}" ] ; then
|
||||||
if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${target_alias} \
|
if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${target_alias} \
|
||||||
${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
|
${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
|
||||||
${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${removing} ${redirect} ; then
|
${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${removing} ${other_options} ${redirect} ; then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
echo Configure in `pwd` failed, exiting. 1>&2
|
echo Configure in `pwd` failed, exiting. 1>&2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue