projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e260315
)
Fixed buglet in gmp CHECK_LIB
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 18 Dec 2003 00:42:13 +0000
(
00:42
+0000)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 18 Dec 2003 00:42:13 +0000
(
00:42
+0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index f5fd1e3e39198c39870da6295a7a8659c3cbe6ad..b2406a6f6113cbcfc15bec83f20d4ab095cf281e 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-16,9
+16,11
@@
AM_GNU_GETTEXT_VERSION dnl Prevents autoreconf complaint.
dnl Checks for libraries.
AC_CHECK_LIB(m, sin)
-AC_CHECK_LIB(gmp, mpf_get_str, [LIBS="-lgmp $LIBS"],
- [AC_CHECK_LIB(gmp, __gmpf_get_str, [LIBS="-lgmp $LIBS"])],
- AC_MSG_ERROR(`You must install libgmp'))
+AC_CHECK_LIB(gmp, mpf_get_str,,
+ AC_CHECK_LIB(gmp, __gmpf_get_str,,
+ AC_MSG_ERROR([You must install libgmp])
+ )
+)
AC_CHECK_FUNC(getopt_long,,
AC_MSG_ERROR(`This application depends upon getopt_long'))