aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-02-22 22:51:50 -0500
committerJason Woodward2010-02-22 22:51:50 -0500
commitf61e013f7c1d65c36c115a297119280f74073f3f (patch)
tree24f4347162b193530ba35650b4e64826e194073d
parent6099db3e94d4c60518d6c2624da6998ff0878ab0 (diff)
downloadslapt-update-service-f61e013f7c1d65c36c115a297119280f74073f3f.tar.gz
added AC_CANONICAL_HOST so that host_cpu is defined
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 237c6d5..b70d90a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,8 @@ AC_CONFIG_SRCDIR([src/])
AC_CONFIG_HEADERS([config.h])
IT_PROG_INTLTOOL([0.35.0])
+AC_CANONICAL_HOST
+
case "$host_cpu" in
i[[3456]]86) host_cpu=i386 ;CFLAGS="$CFLAGS -fpic";;
x86_64) host_cpu=x86_64 ;CFLAGS="$CFLAGS -fPIC";;