aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure41
-rw-r--r--configure.in3
3 files changed, 48 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 71ac292bbde..6a57a517820 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12011-01-27 Chong Yidong <cyd@stupidchicken.com>
2
3 * configure.in: Test existence of xaw3d library, not just the
4 header (Bug#7642).
5
12011-01-23 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) 62011-01-23 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change)
2 7
3 * configure.in: Add HP-UX on IA64 (Bug#6811). 8 * configure.in: Add HP-UX on IA64 (Bug#6811).
diff --git a/configure b/configure
index 66c9737a43a..dd69fde936f 100755
--- a/configure
+++ b/configure
@@ -8626,10 +8626,51 @@ main ()
8626} 8626}
8627_ACEOF 8627_ACEOF
8628if ac_fn_c_try_link "$LINENO"; then : 8628if ac_fn_c_try_link "$LINENO"; then :
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -lXaw3d" >&5
8630$as_echo_n "checking for XawScrollbarSetThumb in -lXaw3d... " >&6; }
8631if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then :
8632 $as_echo_n "(cached) " >&6
8633else
8634 ac_check_lib_save_LIBS=$LIBS
8635LIBS="-lXaw3d $LIBS"
8636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637/* end confdefs.h. */
8638
8639/* Override any GCC internal prototype to avoid an error.
8640 Use char because int might match the return type of a GCC
8641 builtin and then its argument prototype would still apply. */
8642#ifdef __cplusplus
8643extern "C"
8644#endif
8645char XawScrollbarSetThumb ();
8646int
8647main ()
8648{
8649return XawScrollbarSetThumb ();
8650 ;
8651 return 0;
8652}
8653_ACEOF
8654if ac_fn_c_try_link "$LINENO"; then :
8655 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
8656else
8657 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
8658fi
8659rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661LIBS=$ac_check_lib_save_LIBS
8662fi
8663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
8664$as_echo "$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
8665if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = x""yes; then :
8629 emacs_cv_xaw3d=yes 8666 emacs_cv_xaw3d=yes
8630else 8667else
8631 emacs_cv_xaw3d=no 8668 emacs_cv_xaw3d=no
8632fi 8669fi
8670
8671else
8672 emacs_cv_xaw3d=no
8673fi
8633rm -f core conftest.err conftest.$ac_objext \ 8674rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext 8675 conftest$ac_exeext conftest.$ac_ext
8635fi 8676fi
diff --git a/configure.in b/configure.in
index fd1c62ccb7d..dce2a6271c4 100644
--- a/configure.in
+++ b/configure.in
@@ -1796,7 +1796,8 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
1796#include <X11/Intrinsic.h> 1796#include <X11/Intrinsic.h>
1797#include <X11/Xaw3d/Simple.h>], 1797#include <X11/Xaw3d/Simple.h>],
1798 [], 1798 [],
1799 emacs_cv_xaw3d=yes, 1799 [AC_CHECK_LIB(Xaw3d, XawScrollbarSetThumb,
1800 emacs_cv_xaw3d=yes, emacs_cv_xaw3d=no)],
1800 emacs_cv_xaw3d=no)]) 1801 emacs_cv_xaw3d=no)])
1801 else 1802 else
1802 emacs_cv_xaw3d=no 1803 emacs_cv_xaw3d=no