X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=0c1206ddd298f8845bc0d947f4dea9b42bde8907;hb=a8dd5aa0fcc4692b2c5495fde1e9c6920c83ee98;hp=8ed44bd036f399c119ef9d1594b56563e3a2fa48;hpb=8e0ecbeb8f88536e0c3c7e8219909670fb4d6659;p=simgear.git diff --git a/configure.ac b/configure.ac index 8ed44bd0..0c1206dd 100644 --- a/configure.ac +++ b/configure.ac @@ -170,7 +170,7 @@ if test "x$ac_cv_header_pthread_h" = "xyes"; then if test "x$ac_cv_search_pthread_exit" = "x-lc_r"; then CXXFLAGS="-pthread $CXXFLAGS" - CFLAGS="-pthread $FLAGS" + CFLAGS="-pthread $CFLAGS" fi fi @@ -282,6 +282,7 @@ case "${host}" in save_LIBS=$LIBS LIBS="$LIBS $thread_LIBS" AC_SEARCH_LIBS(alGenBuffers, openal) + AC_SEARCH_LIBS(alutInit, [ alut openal ] ) OPENAL_OK="$ac_cv_search_alGenBuffers" openal_LIBS="$LIBS" LIBS=$save_LIBS