Browse Source

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
pull/168/head
Michael R Sweet 24 years ago
parent
commit
621a34c576
  1. 12
      configure.in

12
configure.in

@ -1,7 +1,7 @@ @@ -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 @@ -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) @@ -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

Loading…
Cancel
Save