X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Fconfigure.ac;h=c3a5bdc0903dd1fe81057761f1b5faddc2e059a9;hb=8c35d268c774a348c0e041c4e507137dabe98974;hp=0137f0a1c66adf08dc3964adbdf9bb7610b46de9;hpb=19368c775120ec8f646866c1b7cb54d7117b9aaa;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 0137f0a1c66..c3a5bdc0903 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -12,7 +12,7 @@ AC_CONFIG_HEADER(config.h) ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD # For libtool versioning info, format is CURRENT:REVISION:AGE -libtool_VERSION=6:14:0 +libtool_VERSION=6:15:0 AC_SUBST(libtool_VERSION) # Find the rest of the source tree framework. @@ -72,9 +72,10 @@ fi # foreign: we don't follow the normal rules for GNU packages (no COPYING # file in the top srcdir, etc, etc), so stop complaining. # no-dependencies: turns off auto dependency generation (just for now) +# no-dist: we don't want 'dist' and related rules. # -Wall: turns on all automake warnings... # -Wno-portability: ...except this one, since GNU make is now required. -AM_INIT_AUTOMAKE([1.9.3 no-define foreign no-dependencies -Wall -Wno-portability -Wno-override]) +AM_INIT_AUTOMAKE([1.9.3 no-define foreign no-dependencies no-dist -Wall -Wno-portability -Wno-override]) AH_TEMPLATE(PACKAGE, [Name of package]) AH_TEMPLATE(VERSION, [Version number of package]) @@ -95,9 +96,13 @@ if test "x${with_newlib}" != "xyes"; then AC_LIBTOOL_DLOPEN fi AM_PROG_LIBTOOL +ACX_LT_HOST_FLAGS AC_SUBST(enable_shared) AC_SUBST(enable_static) +# Eliminate -lstdc++ addition to postdeps for cross compiles. +postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'` + # Possibly disable most of the library. ## TODO: Consider skipping unncessary tests altogether in this case, rather ## than just ignoring the results. Faster /and/ more correct, win win. @@ -149,8 +154,8 @@ GLIBCXX_CHECK_WRITEV # For C99 support to TR1. GLIBCXX_CHECK_C99_TR1 -# For common values of EOF, SEEK_CUR, SEEK_END. -GLIBCXX_CHECK_STDIO_MACROS +# For the EOF, SEEK_CUR, and SEEK_END integer constants. +GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS # For gettimeofday support. GLIBCXX_CHECK_GETTIMEOFDAY @@ -371,6 +376,7 @@ dnl which can all be called multiple times as needed, plus one (different) dnl AC_OUTPUT macro. This one lists the files to be created: AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES([scripts/testsuite_flags],[chmod +x scripts/testsuite_flags]) +AC_CONFIG_FILES([scripts/extract_symvers],[chmod +x scripts/extract_symvers]) # Multilibs need MULTISUBDIR defined correctly in certain makefiles so # that multilib installs will end up installed in the correct place.