[BACK]Return to patch-configure_in CVS log [TXT][DIR] Up to [local] / ports / graphics / allegrogl / patches

File: [local] / ports / graphics / allegrogl / patches / Attic / patch-configure_in (download)

Revision 1.1.1.1 (vendor branch), Sat Oct 23 12:05:47 2010 UTC (13 years, 8 months ago) by yason
Branch: yason
CVS Tags: import
Changes since 1.1: +0 -0 lines

import

$OpenBSD$
--- configure.in.orig	Sat Jan  6 23:39:09 2007
+++ configure.in	Sat Oct 23 14:38:24 2010
@@ -37,8 +37,8 @@ AC_ARG_ENABLE(
 )
 
 if test -n "$agl_build_shared"; then
-	LIB_BUILDER="\$(CC) -shared -Wl,-soname,lib\$(LIB_NAME).so.\$(shared_version) -o"
-	LIB_PATH_U="\$(LIB_DIR)/lib\$(LIB_NAME).so.\$(shared_version)"
+	LIB_BUILDER="\$(CC) -shared -Wl,-soname,lib\$(LIB_NAME).so.\$(shared_major_minor) -o"
+	LIB_PATH_U="\$(LIB_DIR)/lib\$(LIB_NAME).so.\$(shared_major_minor)"
 	LIB_LINKS_U="\$(LIB_DIR)/lib\$(LIB_NAME).so.\$(shared_major_minor) \$(LIB_DIR)/lib\$(LIB_NAME).so.\$(shared_major) \$(LIB_DIR)/lib\$(LIB_NAME).so"
 	SHARED="-fPIC"
 else
@@ -53,7 +53,7 @@ AC_PROG_INSTALL
 
 dnl Check for pthread support, which GL libs may require (e.g. FreeBSD)
 AC_CHECK_HEADER(pthread.h, , dontcare=y)
-AC_CHECK_LIB(pthread, pthread_create, LIBS="-lpthread $LIBS")
+AC_CHECK_LIB(pthread, pthread_create, LIBS="-pthread $LIBS")
 
 
 dnl Build Mesa generic driver