summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2001-12-06 02:20:36 +0000
committerMatthias Melcher <fltk@matthiasm.com>2001-12-06 02:20:36 +0000
commitab896c6d5faa206ca23df371fc1c17b8a1666007 (patch)
treea4de9161fc4e7c02e633357cf6ef289ac0e00b5c /configure.in
parente07200c4e847ddff8a46ea9fdc23e17437d74c15 (diff)
FLTK 1.1.0 for Mac "Out Of The Box Experience": type 'make' and watch...
- updated configure.in and Makefiles to support Darwin (Mac OS X BSD environment) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 71c99cc1d..8008e45ed 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf"
dnl
-dnl "$Id: configure.in,v 1.33.2.31.2.35 2001/12/04 19:57:45 easysw Exp $"
+dnl "$Id: configure.in,v 1.33.2.31.2.36 2001/12/06 02:20:36 matthiaswm Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -258,6 +258,9 @@ AC_EXEEXT
dnl Check for standard graphics API and OpenGL...
HLINKS=
+dnl some environments need postprocessing (Darwin, MacOS)
+POSTBUILD=
+
case $uname in
CYGWIN*)
dnl Cygwin environment...
@@ -289,7 +292,7 @@ case $uname in
if test x$enable_gl != xno; then
AC_DEFINE(HAVE_GL)
AC_DEFINE(HAVE_GL_GLU_H)
- GLLIB="-framework OpenGL"
+ GLLIB="-framework AGL -framework OpenGL"
else
LINKFLTKGL=""
GLLIBNAME=""
@@ -298,6 +301,8 @@ case $uname in
fi
# Don't make symlinks because HFS+ is not case sensitive...
HLINKS="#"
+ # Add a postbuild step after linking applications
+ POSTBUILD="/Developer/Tools/Rez -t APPL ../FL/mac.r -o \$@"
;;
*)
dnl Check for X11...
@@ -371,6 +376,7 @@ esac
AC_SUBST(HLINKS)
AC_SUBST(GLDEMOS)
AC_SUBST(GLLIB)
+AC_SUBST(POSTBUILD)
dnl Figure out the appropriate formatted man page extension...
case "$uname" in
@@ -586,5 +592,5 @@ AC_OUTPUT(makeinclude fltk.list fltk-config FL/Makefile)
chmod +x fltk-config
dnl
-dnl End of "$Id: configure.in,v 1.33.2.31.2.35 2001/12/04 19:57:45 easysw Exp $".
+dnl End of "$Id: configure.in,v 1.33.2.31.2.36 2001/12/06 02:20:36 matthiaswm Exp $".
dnl