we also need to check for XauFilename since it's used by appl/kx. And
on Irix 6.5 that function requires linking with -lX11. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6231 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl
|
dnl
|
||||||
dnl check for Xau{Read,Write}Auth
|
dnl check for Xau{Read,Write}Auth and XauFileName
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_CHECK_XAU,[
|
AC_DEFUN(AC_CHECK_XAU,[
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
@@ -20,6 +20,8 @@ AC_FIND_FUNC_NO_LIBS(XauWriteAuth, X11 Xau)
|
|||||||
ac_xxx="$LIBS"
|
ac_xxx="$LIBS"
|
||||||
LIBS="$LIB_XauWriteAuth $LIBS"
|
LIBS="$LIB_XauWriteAuth $LIBS"
|
||||||
AC_FIND_FUNC_NO_LIBS(XauReadAuth, X11 Xau)
|
AC_FIND_FUNC_NO_LIBS(XauReadAuth, X11 Xau)
|
||||||
|
LIBS="$LIB_XauReadAauth $LIBS"
|
||||||
|
AC_FIND_FUNC_NO_LIBS(XauFileName, X11 Xau)
|
||||||
LIBS="$ac_xxx"
|
LIBS="$ac_xxx"
|
||||||
|
|
||||||
## set LIB_XauReadAuth to union of these tests, since this is what the
|
## set LIB_XauReadAuth to union of these tests, since this is what the
|
||||||
@@ -28,9 +30,17 @@ case "$ac_cv_funclib_XauWriteAuth" in
|
|||||||
yes) ;;
|
yes) ;;
|
||||||
no) ;;
|
no) ;;
|
||||||
*) if test "$ac_cv_funclib_XauReadAuth" = yes; then
|
*) if test "$ac_cv_funclib_XauReadAuth" = yes; then
|
||||||
LIB_XauReadAuth="$LIB_XauWriteAuth"
|
if test "$ac_cv_funclib_XauFileName" = yes; then
|
||||||
|
LIB_XauReadAuth="$LIB_XauWriteAuth"
|
||||||
|
else
|
||||||
|
LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
|
if test "$ac_cv_funclib_XauFileName" = yes; then
|
||||||
|
LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
|
||||||
|
else
|
||||||
|
LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user