Fix libraries list for static architectures

This commit is contained in:
matthieu 2007-04-09 15:43:48 +00:00
parent e8f770056e
commit dfd79f109e
2 changed files with 4 additions and 4 deletions

View File

@ -8532,7 +8532,7 @@ echo $ECHO_N "checking for GL >=1.1... $ECHO_C" >&6
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
CFLAGS="${CFLAGS} ${XLOCKINC}" CFLAGS="${CFLAGS} ${XLOCKINC}"
LIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lm" LIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lXau -lXdmcp -lm"
if test "${ac_cv_c_gl1_1+set}" = set; then if test "${ac_cv_c_gl1_1+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
@ -12906,7 +12906,7 @@ case "${canonical}" in
XGLOCKLIBPATHS="-L/usr/lib32 ${XGLOCKLIBPATHS}" XGLOCKLIBPATHS="-L/usr/lib32 ${XGLOCKLIBPATHS}"
;; ;;
esac esac
XLOCKLIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lm" XLOCKLIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lXau -lXdmcp -lm"
XMLOCKLIBS="${XMLOCKLIBPATHS} ${XMLOCKLIBS} -lX11" XMLOCKLIBS="${XMLOCKLIBPATHS} ${XMLOCKLIBS} -lX11"
XGLOCKLIBS="${XGLOCKLIBPATHS} ${XGLOCKLIBS} ${GTK_LIBS}" XGLOCKLIBS="${XGLOCKLIBPATHS} ${XGLOCKLIBS} ${GTK_LIBS}"

View File

@ -2519,7 +2519,7 @@ AC_MSG_CHECKING([for GL >=1.1])
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
CFLAGS="${CFLAGS} ${XLOCKINC}" CFLAGS="${CFLAGS} ${XLOCKINC}"
LIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lm" LIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lXau -lXdmcp -lm"
AC_CACHE_VAL(ac_cv_c_gl1_1,[ AC_CACHE_VAL(ac_cv_c_gl1_1,[
AC_TRY_LINK([#define _XOPEN_SOURCE 1 AC_TRY_LINK([#define _XOPEN_SOURCE 1
#include <GL/gl.h>], [ #include <GL/gl.h>], [
@ -4297,7 +4297,7 @@ case "${canonical}" in
XGLOCKLIBPATHS="-L/usr/lib32 ${XGLOCKLIBPATHS}" XGLOCKLIBPATHS="-L/usr/lib32 ${XGLOCKLIBPATHS}"
;; ;;
esac esac
XLOCKLIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lm" XLOCKLIBS="${XLOCKLIBPATHS} ${XLOCKLIBS} -lX11 -lXext -lXau -lXdmcp -lm"
XMLOCKLIBS="${XMLOCKLIBPATHS} ${XMLOCKLIBS} -lX11" XMLOCKLIBS="${XMLOCKLIBPATHS} ${XMLOCKLIBS} -lX11"
XGLOCKLIBS="${XGLOCKLIBPATHS} ${XGLOCKLIBS} ${GTK_LIBS}" XGLOCKLIBS="${XGLOCKLIBPATHS} ${XGLOCKLIBS} ${GTK_LIBS}"
AC_SUBST(XLOCKLDFLAGS) AC_SUBST(XLOCKLDFLAGS)