summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-01-13 00:06:44 +0000
committerng0 <ng0@n0.is>2019-01-13 00:06:44 +0000
commit0e2f011a3eb9922b4b1ee4671e0b26d9cd8d2b2d (patch)
tree83b80394fbf9ba1c5e6e6559e106612414d00f5d /configure.ac
parentd3dca2ecd3511d6764d76dca75f94e312c294c7a (diff)
downloadgnurl-0e2f011a3eb9922b4b1ee4671e0b26d9cd8d2b2d.tar.gz
gnurl-0e2f011a3eb9922b4b1ee4671e0b26d9cd8d2b2d.tar.bz2
gnurl-0e2f011a3eb9922b4b1ee4671e0b26d9cd8d2b2d.zip
configure.ac: Cherry-picked patch from pkgsrc so that on Darwin
custom CFLAGS are not appended. http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/curl/patches/patch-configure?rev=1.4&content-type=text/x-cvsweb-markup www/curl , revision 1.4 , author: sevan.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 28cb8c16f..04f9b23c5 100755
--- a/configure.ac
+++ b/configure.ac
@@ -319,10 +319,15 @@ esac
# All AIX autobuilds fails unit tests linking against unittests library
# due to unittests library being built with no symbols or members. Libtool ?
# Disable unit tests while time to further investigate this is found.
+# On Darwin, do not append custom CFLAGS.
+# Picked from pkgsrc curl patch.
case $host_os in
aix*)
supports_unittests=no
;;
+ darwin*)
+ tst_cflags="no"
+ ;;
esac
dnl Build unit tests when option --enable-debug is given.