X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=7d0e53540979a431b005ca78824804b17a43dc0b;hb=1960e02ab73207a280fc768a7b540f3a56ce9c0e;hp=0d4131cfd76d9969dcf2bc5c331e8b9722be4b7d;hpb=9593059258f391b50bb2417b819e14257d64b592;p=simgear.git diff --git a/configure.ac b/configure.ac index 0d4131cf..7d0e5354 100644 --- a/configure.ac +++ b/configure.ac @@ -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