aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-03 11:45:21 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-03 11:45:21 +0200
commit1da53d8427126778c0fb78e3c2189a9dcfdc78c7 (patch)
tree8404f4d567d4515128b31dec87f19e9d6d0c8304 /m4
parent8cfac5bb1d0f877bd8393a70c1e2524326d7842f (diff)
downloadgnunet-ext-1da53d8427126778c0fb78e3c2189a9dcfdc78c7.tar.gz
gnunet-ext-1da53d8427126778c0fb78e3c2189a9dcfdc78c7.zip
fix warnings
Diffstat (limited to 'm4')
-rw-r--r--m4/libtool.m427
1 files changed, 17 insertions, 10 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index ee80844..a6d21ae 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1041,8 +1041,8 @@ int forced_loaded() { return 2;}
1041_LT_EOF 1041_LT_EOF
1042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD 1042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD 1043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1044 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD 1044 echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1045 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD 1045 $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1046 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD 1046 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1047 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD 1047 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1048 cat > conftest.c << _LT_EOF 1048 cat > conftest.c << _LT_EOF
@@ -1492,7 +1492,7 @@ need_locks=$enable_libtool_lock
1492m4_defun([_LT_PROG_AR], 1492m4_defun([_LT_PROG_AR],
1493[AC_CHECK_TOOLS(AR, [ar], false) 1493[AC_CHECK_TOOLS(AR, [ar], false)
1494: ${AR=ar} 1494: ${AR=ar}
1495: ${AR_FLAGS=cru} 1495: ${AR_FLAGS=cr}
1496_LT_DECL([], [AR], [1], [The archiver]) 1496_LT_DECL([], [AR], [1], [The archiver])
1497_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) 1497_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1498 1498
@@ -4063,7 +4063,8 @@ _LT_EOF
4063 if AC_TRY_EVAL(ac_compile); then 4063 if AC_TRY_EVAL(ac_compile); then
4064 # Now try to grab the symbols. 4064 # Now try to grab the symbols.
4065 nlist=conftest.nm 4065 nlist=conftest.nm
4066 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then 4066 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD
4067 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
4067 # Try sorting and uniquifying the output. 4068 # Try sorting and uniquifying the output.
4068 if sort "$nlist" | uniq > "$nlist"T; then 4069 if sort "$nlist" | uniq > "$nlist"T; then
4069 mv -f "$nlist"T "$nlist" 4070 mv -f "$nlist"T "$nlist"
@@ -4703,6 +4704,12 @@ m4_if([$1], [CXX], [
4703 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4704 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4704 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' 4705 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4705 ;; 4706 ;;
4707 # flang / f18. f95 an alias for gfortran or flang on Debian
4708 flang* | f18* | f95*)
4709 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4710 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4711 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4712 ;;
4706 # icc used to be incompatible with GCC. 4713 # icc used to be incompatible with GCC.
4707 # ICC 10 doesn't accept -KPIC any more. 4714 # ICC 10 doesn't accept -KPIC any more.
4708 icc* | ifort*) 4715 icc* | ifort*)
@@ -6438,7 +6445,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6438 # Commands to make compiler produce verbose output that lists 6445 # Commands to make compiler produce verbose output that lists
6439 # what "hidden" libraries, object files and flags are used when 6446 # what "hidden" libraries, object files and flags are used when
6440 # linking a shared library. 6447 # linking a shared library.
6441 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 6448 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
6442 6449
6443 else 6450 else
6444 GXX=no 6451 GXX=no
@@ -6813,7 +6820,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6813 # explicitly linking system object files so we need to strip them 6820 # explicitly linking system object files so we need to strip them
6814 # from the output so that they don't get included in the library 6821 # from the output so that they don't get included in the library
6815 # dependencies. 6822 # dependencies.
6816 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 6823 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6817 ;; 6824 ;;
6818 *) 6825 *)
6819 if test yes = "$GXX"; then 6826 if test yes = "$GXX"; then
@@ -6878,7 +6885,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6878 # explicitly linking system object files so we need to strip them 6885 # explicitly linking system object files so we need to strip them
6879 # from the output so that they don't get included in the library 6886 # from the output so that they don't get included in the library
6880 # dependencies. 6887 # dependencies.
6881 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 6888 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6882 ;; 6889 ;;
6883 *) 6890 *)
6884 if test yes = "$GXX"; then 6891 if test yes = "$GXX"; then
@@ -7217,7 +7224,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7217 # Commands to make compiler produce verbose output that lists 7224 # Commands to make compiler produce verbose output that lists
7218 # what "hidden" libraries, object files and flags are used when 7225 # what "hidden" libraries, object files and flags are used when
7219 # linking a shared library. 7226 # linking a shared library.
7220 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 7227 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
7221 7228
7222 else 7229 else
7223 # FIXME: insert proper C++ library support 7230 # FIXME: insert proper C++ library support
@@ -7301,7 +7308,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7301 # Commands to make compiler produce verbose output that lists 7308 # Commands to make compiler produce verbose output that lists
7302 # what "hidden" libraries, object files and flags are used when 7309 # what "hidden" libraries, object files and flags are used when
7303 # linking a shared library. 7310 # linking a shared library.
7304 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 7311 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
7305 else 7312 else
7306 # g++ 2.7 appears to require '-G' NOT '-shared' on this 7313 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7307 # platform. 7314 # platform.
@@ -7312,7 +7319,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7312 # Commands to make compiler produce verbose output that lists 7319 # Commands to make compiler produce verbose output that lists
7313 # what "hidden" libraries, object files and flags are used when 7320 # what "hidden" libraries, object files and flags are used when
7314 # linking a shared library. 7321 # linking a shared library.
7315 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 7322 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
7316 fi 7323 fi
7317 7324
7318 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' 7325 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'