X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.ac;h=b1fcb9ae705ef336b7c04037a1c3383ff3c5e1e4;hb=7872ad07aaad9c53b8655e3d8947065557e0cbc0;hp=5af54e6da0de9b77d98fd0b9ee1064432c4fec4d;hpb=6c6dfca45f28f797b7926a310be12b2f9754d8cf;p=libfirm diff --git a/configure.ac b/configure.ac index 5af54e6da..b1fcb9ae7 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 @@ -155,7 +157,7 @@ AC_CONFIG_FILES([ BACKENDS="" if test "$enable_backend" = yes; then - BACKENDS="arm ia32 mips sparc amd64" + BACKENDS="arm ia32 sparc amd64" fi AC_SUBST([BACKENDS])