mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
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
This commit is contained in:
+10
-2
@@ -1,7 +1,7 @@
|
|||||||
dnl -*- sh -*-
|
dnl -*- sh -*-
|
||||||
dnl the "configure" script is made from this by running GNU "autoconf"
|
dnl the "configure" script is made from this by running GNU "autoconf"
|
||||||
dnl
|
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
|
||||||
dnl Configuration script for the Fast Light Tool Kit (FLTK).
|
dnl Configuration script for the Fast Light Tool Kit (FLTK).
|
||||||
dnl
|
dnl
|
||||||
@@ -319,6 +319,14 @@ if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Fix "libdir" variable...
|
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
|
if test "$uname" = "IRIX" -a $uversion -ge 62 -a "$libdir" = "\${exec_prefix}/lib" -a "$exec_prefix" = "/usr"; then
|
||||||
libdir="/usr/lib32"
|
libdir="/usr/lib32"
|
||||||
fi
|
fi
|
||||||
@@ -466,5 +474,5 @@ AC_OUTPUT(makeinclude fltk-config)
|
|||||||
chmod +x fltk-config
|
chmod +x fltk-config
|
||||||
|
|
||||||
dnl
|
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
|
dnl
|
||||||
|
|||||||
Reference in New Issue
Block a user