summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2010-05-21 23:55:10 +0200
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2010-05-21 23:55:10 +0200
commit74d5a9023b48f346eead323a74e28297659e34b7 (patch)
treefb149320bccb106b84007135c3130e0835736795 /configure.ac
parent5994fced0d4928121f9923d973688647fc3552f6 (diff)
Fixed Win32 DLL support.
libFirm can now be build as static and as dynamic library. Two defines control it: FIRM_BUILD must be set when libFirm is build. FIRM_DLL must be set if libFirm is build as a dynamic library. The old FIRM_DLL macro is now renamed to FIRM_API. Additionally - FIRM_API is added to the ADT headers, this is at least needed for edgfe. - some more missing FIRM_API's added ... - add a resource file to show libFirm's version under windows [r27575]
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a30ad0b..650a060 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ AC_SUBST(libfirm_conf_env)
dnl enable visibility hidden
CFLAGS="-fvisibility=hidden"
-AC_DEFINE([FIRM_BUILD_DLL], [], [Define when firm library is built])
+AC_DEFINE([FIRM_BUILD], [], [Defined when firm library is built])
dnl Package options
dnl ===============