From: drow Date: Wed, 27 Aug 2003 19:24:44 +0000 (+0000) Subject: * acinclude.m4: Don't call AC_ISC_POSIX. X-Git-Tag: upstream/4.9.2~77048 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=525c76f57a3ad19dee0e7327c59dc12082ac27a6;p=platform%2Fupstream%2Flinaro-gcc.git * acinclude.m4: Don't call AC_ISC_POSIX. * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70856 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 26cbdff..6e03406 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-08-27 Daniel Jacobowitz + + * acinclude.m4: Don't call AC_ISC_POSIX. + * aclocal.m4: Regenerated. + * configure: Regenerated. + 2003-08-27 Phil Edwards * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 474af59..8506ecc 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -146,9 +146,6 @@ AC_DEFUN(GLIBCXX_CONFIGURE, [ gcc_version=`$CXX -dumpversion` AC_MSG_RESULT($gcc_version) - # For some reason, gettext needs this. - AC_ISC_POSIX - # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't # available). Uncomment the next line to force a particular method. AC_PROG_LN_S diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index e6870fd..426808f 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -159,9 +159,6 @@ AC_DEFUN(GLIBCXX_CONFIGURE, [ gcc_version=`$CXX -dumpversion` AC_MSG_RESULT($gcc_version) - # For some reason, gettext needs this. - AC_ISC_POSIX - # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't # available). Uncomment the next line to force a particular method. AC_PROG_LN_S @@ -1769,33 +1766,6 @@ multi_basedir="$multi_basedir" CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} CC="$CC"])])dnl -# isc-posix.m4 serial 2 (gettext-0.11.2) -dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. -dnl This file is free software, distributed under the terms of the GNU -dnl General Public License. As a special exception to the GNU General -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. - -# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. - -# This test replaces the one in autoconf. -# Currently this macro should have the same name as the autoconf macro -# because gettext's gettext.m4 (distributed in the automake package) -# still uses it. Otherwise, the use in gettext.m4 makes autoheader -# give these diagnostics: -# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX -# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX - -undefine([AC_ISC_POSIX]) - -AC_DEFUN([AC_ISC_POSIX], - [ - dnl This test replaces the obsolescent AC_ISC_POSIX kludge. - AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) - ] -) - # Add --enable-maintainer-mode option to configure. # From Jim Meyering diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 9a7b9c4..bd94ea1 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -1933,7 +1933,6 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets # up critical shell variables. - # Keep these sync'd with the list in Makefile.am. The first provides an # expandable list at autoconf time; the second provides an expandable list # (i.e., shell variable) at configure time. @@ -3196,69 +3195,6 @@ echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $gcc_version" >&5 echo "${ECHO_T}$gcc_version" >&6 - # For some reason, gettext needs this. - - echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 -echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 -if test "${ac_cv_lib_cposix_strerror+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcposix $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char strerror (); -int -main () -{ -strerror (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_cposix_strerror=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_lib_cposix_strerror=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 -echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 -if test $ac_cv_lib_cposix_strerror = yes; then - LIBS="$LIBS -lcposix" -fi - - - - # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't # available). Uncomment the next line to force a particular method. echo "$as_me:$LINENO: checking whether ln -s works" >&5 @@ -3958,6 +3894,7 @@ deplibs_check_method=$lt_cv_deplibs_check_method + # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # Only perform the check for file, if the check method requires it @@ -4293,7 +4230,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 4296 "configure"' > conftest.$ac_ext + echo '#line 4233 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -4885,7 +4822,7 @@ fi; # # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style. cat > conftest.$ac_ext << EOF -#line 4888 "configure" +#line 4825 "configure" struct S { ~S(); }; void bar(); void foo()