summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-05 19:51:55 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-05 19:51:55 +0100
commit1004b3d970f19964816eedf89d3ba7aa9416ed24 (patch)
tree743c94d1bf5c379c8d9aca21e22336f04797dd60 /src/auto
parente3a529bc877909a9eccf792461050b4f6737ed33 (diff)
patch 8.2.5059: autoconf 2.71 produces many obsolete warningsv8.2.5059
Problem: Autoconf 2.71 produces many obsolete warnings. Solution: Replace obsolete macros with non-obsolete ones, where the functionality does not change. (issue #10528)
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure24
1 files changed, 17 insertions, 7 deletions
diff --git a/src/auto/configure b/src/auto/configure
index b261631ef4..e47369de80 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4529,8 +4529,8 @@ fi
test "$GCC" = yes && CPP_MM=M;
if test -f ./toolcheck; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for buggy tools..." >&5
-$as_echo "$as_me: checking for buggy tools..." >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for buggy tools" >&5
+$as_echo_n "checking for buggy tools... " >&6; }
sh ./toolcheck 1>&6
fi
@@ -10580,12 +10580,21 @@ if test -z "$SKIP_MOTIF"; then
cppflags_save=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
if test "$zOSUnix" = "yes"; then
- xmheader="Xm/Xm.h"
+ for ac_header in Xm/Xm.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "Xm/Xm.h" "ac_cv_header_Xm_Xm_h" "$ac_includes_default"
+if test "x$ac_cv_header_Xm_Xm_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_XM_XM_H 1
+_ACEOF
+
+fi
+
+done
+
else
- xmheader="Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h
- Xm/UnhighlightT.h Xm/Notebook.h"
- fi
- for ac_header in $xmheader
+ for ac_header in Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h
+ Xm/UnhighlightT.h Xm/Notebook.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -10598,6 +10607,7 @@ fi
done
+ fi
if test "x$ac_cv_header_Xm_XpmP_h" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmAttributes_21 in Xm/XpmP.h" >&5