ba11d387e1
ok naddy@
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
$OpenBSD: patch-BuildUnix_configure_in,v 1.2 2007/04/01 17:50:25 martynas Exp $
|
|
--- BuildUnix/configure.in.orig Fri Mar 29 15:11:13 2002
|
|
+++ BuildUnix/configure.in Sun Apr 1 17:55:07 2007
|
|
@@ -136,7 +136,7 @@ dnl ==================================================
|
|
dnl Define the standard OMNITHREAD options
|
|
dnl ========================================================
|
|
|
|
-THREAD_FLAGS="-D_REENTRANT -DNoNanoSleep -DPthreadDraftVersion=10"
|
|
+THREAD_FLAGS="-D_REENTRANT -DPthreadDraftVersion=10"
|
|
THREAD_LIBS="-lpthread"
|
|
USE_SOLARIS_CPP="false"
|
|
|
|
@@ -321,8 +321,8 @@ GLLIB=
|
|
AC_CHECK_HEADER(GL/gl.h,
|
|
AC_CHECK_LIB(GL, glXMakeCurrent, AC_DEFINE(HAVE_GL) GLLIB="-lGL", \
|
|
AC_CHECK_LIB(MesaGL, glXMakeCurrent, AC_DEFINE(HAVE_GL) GLLIB=" -lMesaGL",,\
|
|
- -L${ac_x_libraries} -lX11 -lXext $X_EXTRA_LIBS -lm), \
|
|
- -L${ac_x_libraries} -lX11 -lXext $X_EXTRA_LIBS -lm)
|
|
+ -L${ac_x_libraries} -lXext -lX11 -lXdmcp -lXau $X_EXTRA_LIBS -lm), \
|
|
+ -L${ac_x_libraries} -lXext -lX11 -lXdmcp -lXau $X_EXTRA_LIBS -lm)
|
|
)
|
|
|
|
AC_CHECK_HEADER(GL/glu.h,
|
|
@@ -347,7 +347,7 @@ AC_CACHE_SAVE
|
|
|
|
dnl Temporarily add -lfltk and OTHER-LIBRARIES (cf AC_CHECK_LIB) to $LIBS
|
|
save_LIBS="$LIBS"
|
|
-LIBS="-lfltk ${GLLIB} -L${ac_x_libraries} -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
|
|
+LIBS="-lfltk ${GLLIB} -L${ac_x_libraries} -lXext -lX11 -lXdmcp -lXau -lm $X_EXTRA_LIBS $LIBS"
|
|
|
|
AC_LANG_CPLUSPLUS
|
|
AC_CACHE_CHECK([for 'int fl_height (void)' in -lfltk], pose_cv_lib_fltk_found,
|