summaryrefslogtreecommitdiff
path: root/graphics/allegrogl/files/patch-configure.in
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-23 10:02:47 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-23 10:02:47 +0000
commitbdf202c987d1bd7d6555d86dddec8e636842ae62 (patch)
treec8f0729499c34e293af7c1892f5c8328d958e261 /graphics/allegrogl/files/patch-configure.in
parentAdd glbsp 2.05, (diff)
Add allegrogl 0.2.0,
The library mostly provides functions to allow you to use OpenGL alongside Allegro -- you use OpenGL for your rendering to the screen, and Allegro for miscellaneous tasks like gathering input, doing timers, getting cross-platform portability, loading data, playing samples and drawing your textures. So this library fills the same hole that things like GLUT do. PR: ports/61763 Submitted by: Igor Pokrovsky <tiamat@comset.net>
Diffstat (limited to 'graphics/allegrogl/files/patch-configure.in')
-rw-r--r--graphics/allegrogl/files/patch-configure.in57
1 files changed, 57 insertions, 0 deletions
diff --git a/graphics/allegrogl/files/patch-configure.in b/graphics/allegrogl/files/patch-configure.in
new file mode 100644
index 000000000000..ff1197277843
--- /dev/null
+++ b/graphics/allegrogl/files/patch-configure.in
@@ -0,0 +1,57 @@
+--- configure.in.orig Sat Sep 6 21:26:48 2003
++++ configure.in Thu Jan 22 14:58:15 2004
+@@ -50,7 +50,7 @@
+
+ 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%% $LIBS")
+
+
+ dnl Build Mesa generic driver
+@@ -96,14 +96,15 @@
+ fi
+
+
++dnl We don't need this check in FreeBSD
+ dnl Check if the dynamic loading library (libdl.so) is available
+- AH_TEMPLATE([ALLEGROGL_HAVE_DYNAMIC_LINK], [Define if dynamic linking is supported.])
+- AC_CHECK_HEADER(dlfcn.h,
+- AC_CHECK_LIB(dl, dlsym,
+- LIBS="-ldl $LIBS"
++dnl AH_TEMPLATE([ALLEGROGL_HAVE_DYNAMIC_LINK], [Define if dynamic linking is supported.])
++dnl AC_CHECK_HEADER(dlfcn.h,
++dnl AC_CHECK_LIB(dl, dlsym,
++dnl LIBS="-ldl $LIBS"
+ AC_DEFINE(ALLEGROGL_HAVE_DYNAMIC_LINK)
+- )
+- )
++dnl )
++dnl )
+ fi
+
+
+@@ -155,14 +156,14 @@
+ dnl the Mesa generic driver and the (hopefully) accelerated one
+ if test -f makefile; then
+ echo '# Remove older build'
+- make veryclean
++ %%GMAKE%% veryclean
+ agl_make_depend="yes";
+ fi
+
+
+ dnl If dependencies are not built yet then do it !
+ if (test ! -f make/makefile.dep); then
+- echo '# Execute "make depend".' > make/makefile.dep
++ echo '# Execute "%%GMAKE%% depend".' > make/makefile.dep
+ agl_make_depend="yes";
+ fi
+
+@@ -173,5 +174,5 @@
+
+ dnl Run "make depend" if necessary
+ if test -n "$agl_make_depend"; then
+- make depend
++ %%GMAKE%% depend
+ fi