]> git.mxchange.org Git - simgear.git/blobdiff - configure.ac
Long on my todo list ...
[simgear.git] / configure.ac
index 0d4131cfd76d9969dcf2bc5c331e8b9722be4b7d..7d0e53540979a431b005ca78824804b17a43dc0b 100644 (file)
@@ -152,7 +152,7 @@ if test "x$ac_cv_lib_pthread_pthread_exit" != "xyes" -a "x$ac_cv_header_pthread_
     dnl fails.  See if we need -pthread instead of -lpthread and look
     dnl for the functions in libc_r.
     save_CXXFLAGS="$CXXFLAGS"
-    save_CFLAGS="$FLAGS"
+    save_CFLAGS="$CFLAGS"
     CXXFLAGS="-pthread $CXXFLAGS"
     CFLAGS="-pthread $FLAGS"
     save_LIBS=$LIBS