[BACK] Return to acinclude.m4 CVS log [TXT][DIR] Up to Nevrax / code

Diff for /code/acinclude.m4 between version 1.4 and 1.5

version 1.4, 2002/01/22 14:24:56 version 1.5, 2002/01/28 14:40:26
Line 64 
Line 64 
 dnl dnl
 dnl    Option:      "yes" if the use of the OpenAL library is mandatory. dnl    Option:      "yes" if the use of the OpenAL library is mandatory.
 dnl    Description: check the instalation of the OpenGL library and set the dnl    Description: check the instalation of the OpenGL library and set the
 dnl                 OPENAL_CFLAGS and OPENAL_LIB variables to use it. dnl                 OPENAL_CFLAGS and OPENAL_LIBS variables to use it.
 dnl dnl
 dnl dnl
 dnl AM_PATH_PYTHON dnl AM_PATH_PYTHON
Line 226 
Line 226 
                  
     if test $nel_libraries     if test $nel_libraries
     then     then
         NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib"         NEL_TEST_LIBS="-L$nel_libraries -l$nel_test_lib"
  
     else     else
         NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib"         NEL_TEST_LIBS="$nel_dir_lnk -l$nel_test_lib"
     fi     fi
  
     _CPPFLAGS="$CPPFLAGS"     _CPPFLAGS="$CPPFLAGS"
Line 881 
Line 881 
 then then
     OPENAL_LIBS="-L$openal_libraries"     OPENAL_LIBS="-L$openal_libraries"
 fi fi
 OPENAL_LIB="$OPENAL_LIB -l$openal_lib" OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib"
  
 _CPPFLAGS="$CPPFLAGS" _CPPFLAGS="$CPPFLAGS"
 CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS"
Line 910 
Line 910 
 dnl Test the libraries dnl Test the libraries
 AC_MSG_CHECKING(for OpenAL libraries) AC_MSG_CHECKING(for OpenAL libraries)
  
 CPPFLAGS="$CXXFLAGS $OPENAL_LIB" CPPFLAGS="$CXXFLAGS $OPENAL_LIBS"
  
 AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no")
  
Line 944 
Line 944 
 fi fi
  
 AC_SUBST(OPENAL_CFLAGS) AC_SUBST(OPENAL_CFLAGS)
 AC_SUBST(OPENAL_LIB) AC_SUBST(OPENAL_LIBS)
  
  
 ]) ])


Legend:
Removed from v.1.4 
changed lines
 Added in v.1.5