diff options
author | 2024-12-02 06:36:29 +0100 | |
---|---|---|
committer | 2024-12-02 06:36:29 +0100 | |
commit | 82c858ed25fe0629dec3a6b8ec1b217efd7f65ff (patch) | |
tree | 557e847856408520cca1325919086e57d0038f65 /configure.ac | |
parent | 5235448cead2b6e6c9e891f9a95e89373669402f (diff) | |
download | libideviceactivation-82c858ed25fe0629dec3a6b8ec1b217efd7f65ff.tar.gz libideviceactivation-82c858ed25fe0629dec3a6b8ec1b217efd7f65ff.tar.bz2 |
Move IDEVICE_ACTIVATION_API to public header
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index c84c6de..d4e1d79 100644 --- a/configure.ac +++ b/configure.ac @@ -73,12 +73,12 @@ esac AM_CONDITIONAL(WIN32, test x$win32 = xtrue) AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden") -AC_SUBST(GLOBAL_CFLAGS) -case "$GLOBAL_CFLAGS" in - *-fvisibility=hidden*) - AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden]) -esac +if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then + GLOBAL_CFLAGS+=" -DIDEVICE_ACTIVATION_STATIC" +fi + +AC_SUBST(GLOBAL_CFLAGS) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |