X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=d4f0ab891abf4ab1ccfd8755bf861c727b4b9201;hb=365afdb913c3446f358d3a13fcdaad4ae76334b3;hp=ff6a91d33d7916fc48e532b35e9254f72c6b6966;hpb=0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9;p=oweals%2Fgnunet.git diff --git a/configure.ac b/configure.ac index ff6a91d33..d4f0ab891 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,7 @@ AC_PROG_OBJC AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +AM_PROG_CC_C_O LT_CONFIG_LTDL_DIR([libltdl]) AC_CANONICAL_HOST LT_INIT([disable-static dlopen win32-dll]) @@ -710,20 +711,7 @@ fi GN_LIB_LDFLAGS="-export-dynamic -no-undefined" GN_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" -dnl TODO insert a proper check here -AC_CACHE_CHECK([whether -export-symbols-regex works], - gn_cv_export_symbols_regex_works, - [ - case "$host_os" in - mingw*) gn_cv_export_symbols_regex_works=no;; - *) gn_cv_export_symbols_regex_works=yes;; - esac - ]) -if test "x$gn_cv_export_symbols_regex_works" = "xyes" -then - GN_LIB_LDFLAGS="$GN_LIB_LDFLAGS -export-symbols-regex \"GNUNET_@<:@a-zA-Z0-9_@:>@*\"" - GN_PLUGIN_LDFLAGS="$GN_PLUGIN_LDFLAGS -export-symbols-regex \"@<:@a-zA-Z0-9_@:>@*\"" -fi + AC_SUBST(GN_LIB_LDFLAGS) AC_SUBST(GN_PLUGIN_LDFLAGS) AC_SUBST(GN_INTLINCL) @@ -749,22 +737,30 @@ AM_CONDITIONAL([USE_COVERAGE], [test "x$use_gcov" = "xyes"]) -AC_CONFIG_FILES([ po/Makefile.in m4/Makefile +AC_CONFIG_FILES([ Makefile contrib/Makefile +m4/Makefile +po/Makefile.in src/Makefile src/arm/Makefile src/core/Makefile -src/include/Makefile -src/include/gnunet_directories.h -src/util/Makefile +src/datacache/Makefile +src/datastore/Makefile src/fragmentation/Makefile +src/fs/Makefile src/hello/Makefile +src/include/Makefile +src/include/gnunet_directories.h +src/hostlist/Makefile src/peerinfo/Makefile src/resolver/Makefile src/statistics/Makefile src/template/Makefile +src/testing/Makefile +src/topology/Makefile src/transport/Makefile +src/util/Makefile ]) AC_OUTPUT