summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-10-18 20:47:10 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-10-18 20:47:10 +0000
commit621a34c576e767e14c0f4d7a71e015e0cf75ec40 (patch)
treeeea70aaf68553f8ccf351783817772fbced77bfd
parenta6ffe9abc01d4747dae35555cc21db421cdfdf95 (diff)
Fix configure script - wasn't setting libdir properly for different
exec_prefix values... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--configure.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index bb632a38c..436a25839 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.10 2001/10/18 18:53:20 easysw Exp $"
+dnl "$Id: configure.in,v 1.33.2.31.2.11 2001/10/18 20:47:10 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -319,6 +319,14 @@ if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then
fi
dnl Fix "libdir" variable...
+if test "$prefix" = NONE; then
+ prefix=/usr/local
+fi
+
+if test "$exec_prefix" = NONE; then
+ exec_prefix="$prefix"
+fi
+
if test "$uname" = "IRIX" -a $uversion -ge 62 -a "$libdir" = "\${exec_prefix}/lib" -a "$exec_prefix" = "/usr"; then
libdir="/usr/lib32"
fi
@@ -466,5 +474,5 @@ AC_OUTPUT(makeinclude fltk-config)
chmod +x fltk-config
dnl
-dnl End of "$Id: configure.in,v 1.33.2.31.2.10 2001/10/18 18:53:20 easysw Exp $".
+dnl End of "$Id: configure.in,v 1.33.2.31.2.11 2001/10/18 20:47:10 easysw Exp $".
dnl