mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 19:03:24 +00:00
* configure.in: Test existence of xaw3d library, not just the header (Bug#7642).
* configure: Regenerate.
This commit is contained in:
parent
220c2a1484
commit
37f7b7843a
3 changed files with 48 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-01-27 Chong Yidong <cyd@stupidchicken.com>
|
||||||
|
|
||||||
|
* configure.in: Test existence of xaw3d library, not just the
|
||||||
|
header (Bug#7642).
|
||||||
|
|
||||||
2011-01-23 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change)
|
2011-01-23 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change)
|
||||||
|
|
||||||
* configure.in: Add HP-UX on IA64 (Bug#6811).
|
* configure.in: Add HP-UX on IA64 (Bug#6811).
|
||||||
|
|
41
configure
vendored
41
configure
vendored
|
@ -8626,10 +8626,51 @@ main ()
|
||||||
}
|
}
|
||||||
_ACEOF
|
_ACEOF
|
||||||
if ac_fn_c_try_link "$LINENO"; then :
|
if ac_fn_c_try_link "$LINENO"; then :
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -lXaw3d" >&5
|
||||||
|
$as_echo_n "checking for XawScrollbarSetThumb in -lXaw3d... " >&6; }
|
||||||
|
if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then :
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
|
LIBS="-lXaw3d $LIBS"
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
|
||||||
|
/* Override any GCC internal prototype to avoid an error.
|
||||||
|
Use char because int might match the return type of a GCC
|
||||||
|
builtin and then its argument prototype would still apply. */
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
char XawScrollbarSetThumb ();
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
return XawScrollbarSetThumb ();
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_link "$LINENO"; then :
|
||||||
|
ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
|
||||||
|
else
|
||||||
|
ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
|
||||||
|
fi
|
||||||
|
rm -f core conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
LIBS=$ac_check_lib_save_LIBS
|
||||||
|
fi
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
|
||||||
|
$as_echo "$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
|
||||||
|
if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = x""yes; then :
|
||||||
emacs_cv_xaw3d=yes
|
emacs_cv_xaw3d=yes
|
||||||
else
|
else
|
||||||
emacs_cv_xaw3d=no
|
emacs_cv_xaw3d=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
emacs_cv_xaw3d=no
|
||||||
|
fi
|
||||||
rm -f core conftest.err conftest.$ac_objext \
|
rm -f core conftest.err conftest.$ac_objext \
|
||||||
conftest$ac_exeext conftest.$ac_ext
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1796,7 +1796,8 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
|
||||||
#include <X11/Intrinsic.h>
|
#include <X11/Intrinsic.h>
|
||||||
#include <X11/Xaw3d/Simple.h>],
|
#include <X11/Xaw3d/Simple.h>],
|
||||||
[],
|
[],
|
||||||
emacs_cv_xaw3d=yes,
|
[AC_CHECK_LIB(Xaw3d, XawScrollbarSetThumb,
|
||||||
|
emacs_cv_xaw3d=yes, emacs_cv_xaw3d=no)],
|
||||||
emacs_cv_xaw3d=no)])
|
emacs_cv_xaw3d=no)])
|
||||||
else
|
else
|
||||||
emacs_cv_xaw3d=no
|
emacs_cv_xaw3d=no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue