]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
authorAkim Demaille <akim@epita.fr>
Wed, 7 Jun 2000 07:07:01 +0000 (07:07 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 7 Jun 2000 07:07:01 +0000 (07:07 +0000)
when trying to use `XtMalloc' to actually have a chance of
succeeding.

ChangeLog
acspecific.m4
lib/autoconf/specific.m4

index 139e196c1e3f72d296fd6195558da3c0a54d5d85..7ecdfb515f95e58f459d5f767390dd2a3d0d64ca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-06-07  Morten Eriksen  <mortene@sim.no>
+
+       * acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
+       when trying to use `XtMalloc' to actually have a chance of
+       succeeding.
+
 2000-06-07  Akim Demaille  <akim@epita.fr>
 
        Hard (code) X.
index b08cd7b04f9fb1fe15baccb05978d88149e2bcd0..73bfde49f2023d7d3220e27aeef748b6cc52ce27 100644 (file)
@@ -2377,7 +2377,7 @@ if test "$ac_x_libraries" = no; then
   # Don't add to $LIBS permanently.
   ac_save_LIBS=$LIBS
   LIBS="-lXt $LIBS"
-  AC_TRY_LINK(, [XtMalloc (0)],
+  AC_TRY_LINK([@%:@include <X11/Intrinsic.h>], [XtMalloc (0)],
 [LIBS=$ac_save_LIBS
 # We can link X programs with no special library path.
 ac_x_libraries=],
index b08cd7b04f9fb1fe15baccb05978d88149e2bcd0..73bfde49f2023d7d3220e27aeef748b6cc52ce27 100644 (file)
@@ -2377,7 +2377,7 @@ if test "$ac_x_libraries" = no; then
   # Don't add to $LIBS permanently.
   ac_save_LIBS=$LIBS
   LIBS="-lXt $LIBS"
-  AC_TRY_LINK(, [XtMalloc (0)],
+  AC_TRY_LINK([@%:@include <X11/Intrinsic.h>], [XtMalloc (0)],
 [LIBS=$ac_save_LIBS
 # We can link X programs with no special library path.
 ac_x_libraries=],