1From a45e086661a3eed29193546c525998d7525ef6d9 Mon Sep 17 00:00:00 2001 2From: Tudor Florea <tudor.florea@enea.com> 3Date: Tue, 4 Aug 2015 02:46:39 +0200 4Subject: [PATCH] Remove hardcoded /usr/local includes from configure.ac 5 6Upstream-Status: Inappropriate [config] 7 8Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com> 9Signed-off-by: Tudor Florea <tudor.florea@enea.com> 10 11Update for 1.0.49. 12Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> 13 14Update for 1.0.51. 15Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 16--- 17 configure.ac | 16 ---------------- 18 1 file changed, 16 deletions(-) 19 20diff --git a/configure.ac b/configure.ac 21index 62768c8..efaeee5 100644 22--- a/configure.ac 23+++ b/configure.ac 24@@ -97,22 +97,6 @@ AX_CHECK_LINK_FLAG([-Wl,-z,relro], [LDFLAGS="$LDFLAGS -Wl,-z,relro"]) 25 AX_CHECK_LINK_FLAG([-Wl,-z,now], [LDFLAGS="$LDFLAGS -Wl,-z,now"]) 26 AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"]) 27 28-if test "x$cross_compiling" != "xyes"; then 29- for path in \ 30- /usr/kerberos \ 31- /usr/local /opt /usr/local/opt \ 32- /opt/homebrew/opt/openssl@3 /usr/local/opt/openssl@3 \ 33- /opt/homebrew/opt/openssl@1.1 /usr/local/opt/openssl@1.1 \ 34- /usr/openssl /opt/openssl /usr/local/opt/openssl; do 35- if test -d $path/include; then 36- CPPFLAGS="$CPPFLAGS -I${path}/include" 37- fi 38- if test -d $path/lib; then 39- LDFLAGS="$LDFLAGS -L${path}/lib" 40- fi 41- done 42-fi 43- 44 CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" 45 46 dnl Checks for header files 47-- 482.25.1 49 50