From 21f5a9ec27c0794141a835a5bb3c69495ee554a6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 20 Feb 2013 20:31:52 +0100 Subject: [PATCH] Remove build hacks for FreeBSD. * configure.ac [freebsd]: Do not add /usr/local to CPPFLAGS and LDFLAGS. -- Back in ~2000 we introduced a quick hack to make building of Libgcrypt on FreeBSD easier by always adding -I/usr/local/include and -L/usr/local/lib . It turned out that this is a bad idea if one wants to build with library version which is not installed in /usr/local. The hack made was eventually (in 2003) copied from Libgcrypt to GnuPG-2. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 5881df1a1..cf5ab3fa6 100644 --- a/configure.ac +++ b/configure.ac @@ -627,12 +627,6 @@ case "${host}" in try_gettext="no" ;; - *-*-freebsd*) - # FreeBSD - CPPFLAGS="$CPPFLAGS -I/usr/local/include" - LDFLAGS="$LDFLAGS -L/usr/local/lib" - ;; - *-*-hpux*) if test -z "$GCC" ; then CFLAGS="$CFLAGS -Ae -D_HPUX_SOURCE"