From: David MacKenzie Date: Fri, 8 Apr 1994 17:26:34 +0000 (+0000) Subject: Add --x-includes, --x-libraries options. Document them and --build, X-Git-Tag: fsf-origin~716 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42531d2703b43173e86f95672cd3557a73fdded2;p=thirdparty%2Fautoconf.git Add --x-includes, --x-libraries options. Document them and --build, --host, --target. --- diff --git a/acgeneral.m4 b/acgeneral.m4 index 6976116d0..c81e8ab3e 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -89,17 +89,22 @@ ac_configure_args="[$]*" changequote(,)dnl ac_usage="Usage: configure [options] [host] Options: [defaults in brackets] +--build=BUILD configure for building on BUILD [BUILD=HOST] --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --exec-prefix=PREFIX install host dependent files in PREFIX [/usr/local] --help print this message +--host=HOST configure for HOST [guessed] --prefix=PREFIX install host independent files in PREFIX [/usr/local] --quiet, --silent do not print \`checking for...' messages --srcdir=DIR find the sources in DIR [configure dir or ..] +--target=TARGET configure for TARGET [TARGET=HOST] --verbose print results of checks --version print the version of autoconf that created configure --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ---without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)" +--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) +--x-includes=DIR X include files are in DIR +--x-libraries=DIR X library files are in DIR" changequote([,])dnl # Initialize some variables set by options. @@ -117,6 +122,8 @@ ac_silent= site= srcdir= target=NONE +x_includes= +x_libraries= ac_verbose= ac_prev= @@ -293,6 +300,20 @@ changequote([,])dnl --x) with_x=1 ;; # Obsolete; use --with-x. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes="$ac_optarg" ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries="$ac_optarg" ;; + -*) AC_WARN([$ac_option: invalid option; use --help to show usage]) ;; diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 6976116d0..c81e8ab3e 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -89,17 +89,22 @@ ac_configure_args="[$]*" changequote(,)dnl ac_usage="Usage: configure [options] [host] Options: [defaults in brackets] +--build=BUILD configure for building on BUILD [BUILD=HOST] --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --exec-prefix=PREFIX install host dependent files in PREFIX [/usr/local] --help print this message +--host=HOST configure for HOST [guessed] --prefix=PREFIX install host independent files in PREFIX [/usr/local] --quiet, --silent do not print \`checking for...' messages --srcdir=DIR find the sources in DIR [configure dir or ..] +--target=TARGET configure for TARGET [TARGET=HOST] --verbose print results of checks --version print the version of autoconf that created configure --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ---without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)" +--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) +--x-includes=DIR X include files are in DIR +--x-libraries=DIR X library files are in DIR" changequote([,])dnl # Initialize some variables set by options. @@ -117,6 +122,8 @@ ac_silent= site= srcdir= target=NONE +x_includes= +x_libraries= ac_verbose= ac_prev= @@ -293,6 +300,20 @@ changequote([,])dnl --x) with_x=1 ;; # Obsolete; use --with-x. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes="$ac_optarg" ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries="$ac_optarg" ;; + -*) AC_WARN([$ac_option: invalid option; use --help to show usage]) ;;