1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/databases/libgda/files/patch-configure
Maxim Sobolev 5b725ffe87 - Fix a silly GNUism in the configure script (==' instead of ='), that
results in perl module not being built;
- remove useless USE_LIBTOOL.
2001-07-26 13:25:37 +00:00

57 lines
1.1 KiB
Plaintext

$FreeBSD$
--- configure.orig Thu Jul 26 15:51:10 2001
+++ configure Thu Jul 26 16:09:53 2001
@@ -6238,7 +6240,7 @@
-if test $perl_val == true; then
+if test $perl_val = true; then
WITH_PERL_TRUE=
WITH_PERL_FALSE='#'
else
@@ -7909,7 +7911,7 @@
#line 7910 "configure"
#include "confdefs.h"
#include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
int main() {
iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
@@ -7926,12 +7928,12 @@
rm -f conftest*
if test "$am_cv_func_iconv" != yes; then
am_save_LIBS="$LIBS"
- LIBS="$LIBS -liconv"
+ LIBS="$LIBS -lgiconv"
cat > conftest.$ac_ext <<EOF
#line 7932 "configure"
#include "confdefs.h"
#include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
int main() {
iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
@@ -7969,7 +7971,7 @@
#include "confdefs.h"
#include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
extern
#ifdef __cplusplus
"C"
@@ -8007,7 +8009,7 @@
fi
LIBICONV=
if test "$am_cv_lib_iconv" = yes; then
- LIBICONV="-liconv"
+ LIBICONV="-lgiconv"
fi