summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-02 13:27:02 +0200
committerMatthias Braun <matze@braunis.de>2010-07-02 13:27:02 +0200
commit595bdc7db9560bc4dd3d29bf6114b1d458581e4d (patch)
treecb9c6c3f94082875bf6e19d299150a3ea59a5b18 /configure.ac
parent4096b5c81c67872326dbae07b5b175dcaba30c64 (diff)
update/fix autotools stuff
[r27685]
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 5af54e6..330d7b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,8 +38,8 @@ AC_DEFINE([libfirm_VERSION_MICRO], [firm_micro_version], [Firms micro version nu
LT_VERSION="lt_current:lt_revision:lt_age"
AC_SUBST([LT_VERSION])
-LT_RELEASE="lt_release"
-AC_SUBST([LT_RELEASE])
+#LT_RELEASE="lt_release"
+#AC_SUBST([LT_RELEASE])
dnl enable libtool
LT_INIT([win32-dll])
@@ -48,8 +48,6 @@ AC_SUBST([LIBTOOL_DEPS])
dnl generate the config header file
AC_CONFIG_HEADER([config.h])
-dnl enable visibility hidden
-CFLAGS="-fvisibility=hidden"
AC_DEFINE([FIRM_BUILD], [], [Defined when firm library is built])
AC_DEFINE([FIRM_DLL], [], [Define when a dynamically loadable shared library is built])
@@ -106,6 +104,10 @@ dnl check for a C compiler
dnl ----------------------
AC_PROG_CC
+dnl enable visibility hidden (if supported)
+AX_CFLAGS_GCC_OPTION([-fvisibility=hidden])
+
+
AC_PATH_PROGS(PERL, perl perl5)
dnl check for awk