]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - configure
Second time, Re-write doxygen tags in headers files to generate User API documentation
[CanFestival-3.git] / configure
index 0c62ce38d69f133236f037fa26d66628fb1d47b9..983391fddfcc99c72de888ff091915afc0e53740 100755 (executable)
--- a/configure
+++ b/configure
@@ -246,12 +246,6 @@ fi
 echo "Host OS: ${SUB_OS_NAME}"
 echo "Host arch: ${SUB_ARCH_NAME}"
 
-if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then
-       # Only if we are on x86_64 and using gcc
-       # For shared library generation, it needs this
-       SUB_PROG_CFLAGS=-fPIC
-fi
-
 if [ "$SUB_ARCH_NAME" = "ppc" -o "$SUB_ARCH_NAME" = "powerpc" ]; then
        # PowerPC uses big endian format
        CANOPEN_BIG_ENDIAN=1
@@ -516,6 +510,12 @@ fi
 
 echo "Using ${CC} as a C compiler"
 
+if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then
+       # Only if we are on x86_64 and using gcc
+       # For shared library generation, it needs this
+       SUB_PROG_CFLAGS=-fPIC
+fi
+
 if [ "$BINUTILS_PREFIX" = "" ]; then
        SUB_BINUTILS_PREFIX=`echo "$CC" | sed 's/gcc$//'`
 else