aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-07-11 02:42:42 +0000
committerJason Woodward2019-07-12 03:34:44 +0000
commite481f3f92cb1d0cd762f81637a4507d98a0dcc4c (patch)
tree6c842e66c3c596afd3c0301e20066bc51113bd92
parentd0478181f6b0cb0743da65c330a42550f9efb60d (diff)
downloadgslapt-e481f3f92cb1d0cd762f81637a4507d98a0dcc4c.tar.gz
move CFLAG customization until after AC_PROG_CC_C99
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6e33e0e..6c03689 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,14 +9,15 @@ IT_PROG_INTLTOOL([0.35.0])
AC_CANONICAL_HOST
+AC_ISC_POSIX
+AC_PROG_CC_C99
+
case "$host_cpu" in
i[[3456]]86) host_cpu=i386 ;CFLAGS="$CFLAGS -fpic";;
x86_64) host_cpu=x86_64 ;CFLAGS="$CFLAGS -fPIC";;
arm*) host_cpu=arm ;;
esac
-AC_ISC_POSIX
-AC_PROG_CC_C99
AC_HEADER_STDC
AC_C_CONST
AC_C_VOLATILE