summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-01-03 15:33:35 +0100
committerWerner Koch <wk@gnupg.org>1999-01-03 15:33:35 +0100
commite3e8d9b92f8b6fd0427fd5d99c66fda4596840cb (patch)
tree7788d39f49af5da5d6257ecbee119bc38529bdde /acinclude.m4
parentSee ChangeLog: Tue Dec 29 19:55:38 CET 1998 Werner Koch (diff)
downloadgnupg2-e3e8d9b92f8b6fd0427fd5d99c66fda4596840cb.tar.xz
gnupg2-e3e8d9b92f8b6fd0427fd5d99c66fda4596840cb.zip
See ChangeLog: Sun Jan 3 15:28:44 CET 1999 Werner Koch
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 13eff5fa9..ab6fbf33b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -187,6 +187,31 @@ define(GNUPG_CHECK_PIC,
])
+######################################################################
+# Check for rdynamic flag
+# This sets CFLAGS_RDYNAMIC to the required flags
+######################################################################
+dnl GNUPG_CHECK_RDYNAMIC
+dnl
+define(GNUPG_CHECK_RDYNAMIC,
+ [ AC_MSG_CHECKING(how to specify -rdynamic)
+ CFLAGS_RDYNAMIC=
+ if test "$cross_compiling" = yes; then
+ AC_MSG_RESULT(assume none)
+ else
+ case "$host_os" in
+ solaris*)
+ CFLAGS_RDYNAMIC="-Wl,-dy"
+ ;;
+ *)
+ CFLAGS_RDYNAMIC="-Wl,-export-dynamic"
+ ;;
+ esac
+ AC_MSG_RESULT($CFLAGS_RDYNAMIC)
+ fi
+ ])
+
+
#####################################################################
# Check for SysV IPC (from GIMP)
# And see whether we have a SHM_LOCK (FreeBSD does not have it).