aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2011-11-09 00:30:45 -0300
committerKay Sievers <kay.sievers@vrfy.org>2011-11-10 01:20:16 +0100
commit18d535907675c3aa8742f7f4c16442a53eb342d8 (patch)
tree0adc92df6f181769c8abc7ef30f45f544e224e15
parentbbb40f350e511f49187ef17c4ace7dbe5ece9ff2 (diff)
downloadlibabc-18d535907675c3aa8742f7f4c16442a53eb342d8.tar.gz
misc fixes
- Tell the compiler to go in C99 mode - Prefer PIC code only Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 65cfbb0..b860301 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,11 +7,12 @@ AC_INIT([libabc],
AC_CONFIG_SRCDIR([libabc/libabc.c])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([check-news foreign 1.11 -Wall -Wno-portability silent-rules tar-pax dist-bzip2 subdir-objects])
+AC_PROG_CC_STDC
AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_CONFIG_MACRO_DIR([m4])
AM_SILENT_RULES([yes])
-LT_INIT([disable-static])
+LT_INIT([disable-static pic-only])
AC_PREFIX_DEFAULT([/usr])
AC_ARG_ENABLE([logging],