AIX always needs the image libraries, since the AIX linker sucks.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2002-04-26 12:45:16 +00:00
parent 14b93c034b
commit eff01c14e5

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# "$Id: fltk-config.in,v 1.12.2.10 2002/04/24 12:14:57 easysw Exp $"
# "$Id: fltk-config.in,v 1.12.2.11 2002/04/26 12:45:16 easysw Exp $"
#
# FLTK configuration utility.
#
@ -92,7 +92,8 @@ Option to compile and link an application:
exit $1
}
if test $# -eq 0; then usage 1
if test $# -eq 0; then
usage 1
fi
no_plugins=no
@ -100,12 +101,22 @@ compile=
post=
debug=
# AIX has very poor handling of static and shared libraries; always use
# the image libraries under AIX...
if test `uname` = AIX; then
use_images=yes
fi
# Parse command line options
while test $# -gt 0
do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
-*=*)
optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*)
optarg=
;;
esac
case $1 in
@ -210,7 +221,8 @@ LDLIBS="$DSOLINK $LDLIBS -lm"
LDSTATIC="$LDSTATIC -lm"
# Answer to user requests
if test -n "$echo_help"; then usage 1
if test -n "$echo_help"; then
usage 1
fi
if test -n "$compile"; then
@ -284,4 +296,6 @@ if test "$echo_libs" = "yes"; then
echo $LIBS
fi
# END of fltk-config
#
# End of "$Id: fltk-config.in,v 1.12.2.11 2002/04/26 12:45:16 easysw Exp $".
#