diff options
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 2 | ||||
-rw-r--r-- | libstdc++-v3/aclocal.m4 | 2 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 23 |
3 files changed, 8 insertions, 19 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 0a4243c..8982d46 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1573,7 +1573,7 @@ AC_MSG_RESULT($enable_cshadow_headers) dnl Option parsed, now set things appropriately case "$enable_cshadow_headers" in yes) - CSHADOWFLAGS="-D_ISOC9X_SOURCE" + CSHADOWFLAGS="-D_GNU_SOURCE" CSHADOW_INCLUDES=" -I$srcdir/shadow -I$blddir/cshadow" ;; no) diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index 90643d4..a3a64da 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -1585,7 +1585,7 @@ AC_MSG_RESULT($enable_cshadow_headers) dnl Option parsed, now set things appropriately case "$enable_cshadow_headers" in yes) - CSHADOWFLAGS="-D_ISOC9X_SOURCE" + CSHADOWFLAGS="-D_GNU_SOURCE" CSHADOW_INCLUDES=" -I$srcdir/shadow -I$blddir/cshadow" ;; no) diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index a2cc2c3..c7fd7fa 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -64,7 +64,6 @@ program_suffix=NONE program_transform_name=s,x,x, silent= site= -sitefile= srcdir= target=NONE verbose= @@ -179,7 +178,6 @@ Configuration: --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages - --site-file=FILE use FILE as the site file --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX @@ -350,11 +348,6 @@ EOF -site=* | --site=* | --sit=*) site="$ac_optarg" ;; - -site-file | --site-file | --site-fil | --site-fi | --site-f) - ac_prev=sitefile ;; - -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) - sitefile="$ac_optarg" ;; - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) @@ -520,16 +513,12 @@ fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. -if test -z "$sitefile"; then - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi -else - CONFIG_SITE="$sitefile" fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then @@ -2590,7 +2579,7 @@ fi echo "$ac_t""$enable_cshadow_headers" 1>&6 case "$enable_cshadow_headers" in yes) - CSHADOWFLAGS="-D_ISOC9X_SOURCE" + CSHADOWFLAGS="-D_GNU_SOURCE" CSHADOW_INCLUDES=" -I$srcdir/shadow -I$blddir/cshadow" ;; no) |