ossp-pkg/as/as-gui/configure.in 1.2 -> 1.3
--- configure.in 2002/10/21 16:52:22 1.2
+++ configure.in 2002/11/08 12:21:34 1.3
@@ -51,7 +51,7 @@
ACX_PTHREAD
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
-LIBS="$PTHREAD_CFLAGS $LIBS"
+LIBS="`echo $PTHREAD_CFLAGS | sed -e 's;.*\(-[[pmk]]thread[[s]]*\).*;\1;'` $LIBS"
dnl Check other requirements
AC_PROG_MAKE_SET
@@ -80,7 +80,8 @@
LIBS="$LIBS -lX11 -lXext -lSM -lm"
fi
-dnl Check typical FreeBSD resources
+dnl Check some X resources, typical of XFree86
+AC_CHECK_LIB(Xft, XftFreeTypeOpen, [LIBS="$LIBS -lXft"])
AC_CHECK_LIB(Xrender, XRenderFindFormat, [LIBS="$LIBS -lXrender"])
AC_CHECK_LIB(Xinerama, XineramaIsActive, [LIBS="$LIBS -lXinerama"])
AC_CHECK_LIB(GL, glBegin, [LIBS="$LIBS -lGL"])
|
|