fixed test for -lm
This commit is contained in:
parent
94190c5df9
commit
4eaff9b636
@ -1,3 +1,7 @@
|
||||
2001-11-15 Frank Warmerdam <warmerdam@pobox.com>
|
||||
|
||||
* configure: fixed test for -lm.
|
||||
|
||||
2001-11-02 Frank Warmerdam <warmerdam@pobox.com>
|
||||
|
||||
* Added PHOTOMETRIC_ITULAB as per bug 90.
|
||||
|
10
configure
vendored
10
configure
vendored
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.19 2001-07-16 20:42:59 warmerda Exp $
|
||||
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.20 2001-11-15 17:21:05 warmerda Exp $
|
||||
#
|
||||
# Tag Image File Format (TIFF) Software
|
||||
#
|
||||
@ -152,7 +152,7 @@ do
|
||||
-target|--target) ac_prev=TARGET;;
|
||||
-target=*|--target=*) TARGET="$ac_optarg" ;;
|
||||
-version|--version)
|
||||
echo "This is TIFF configure $Revision: 1.19 $"
|
||||
echo "This is TIFF configure $Revision: 1.20 $"
|
||||
exit 0
|
||||
;;
|
||||
-help|--help) usage; exit 0;;
|
||||
@ -774,11 +774,11 @@ CheckForFunc()
|
||||
|
||||
if [ -z "${MACHDEPLIBS-}" ]; then
|
||||
MACHDEPLIBS=""
|
||||
if ! CheckForFunc cos ; then
|
||||
if CheckForFunc cos ; then
|
||||
echo "Leaving MACHDEPLIBS empty, apparently you don't need -lm."
|
||||
else
|
||||
MACHDEPLIBS="-lm"
|
||||
echo "Defaulting MACHDEPLIBS to -lm."
|
||||
else
|
||||
echo "Leaving MACHDEPLIBS empty, apparently you don't need -lm."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user