Changeset 2188 in orxonox.OLD for orxonox/branches/chris/configure.ac
- Timestamp:
- Jul 17, 2004, 10:22:35 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/configure.ac
r2058 r2188 13 13 mingw=yes 14 14 MSBITFIELDS="-mms-bitfields" 15 MWINDOWS="-mwindows" 15 16 ;; 16 17 *) … … 103 104 fi 104 105 106 ## SDL CHECK 107 108 #checking for SDL libs 109 AC_CHECK_HEADERS(SDL/SDL.h ,, 110 [AC_MSG_ERROR([cannot find SDL headers]) ]) 111 112 AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes) 113 if test "$FOUND_SDL" = "yes" ; then 114 LIBS="$LIBS -lSDL" 115 # checking for Windows sdl library 116 else 117 echo "We did not find the Linux sdl Library. Checking for Windows Library" 118 AC_CHECK_LIB([sdlmain], [main], FOUND_sdlmain=yes) 119 if test "$FOUND_sdlmain" = "yes" ; then 120 LIBS="$LIBS -lsdlmain -lsdl" 121 else 122 echo "------------------" 123 echo "sdl library not found." 124 echo "please install the libsdl, which can be found at http://www.libsdl.org" 125 echo "------------------" 126 exit -1 127 fi 128 fi 129 130 #checking for pthread libs 131 AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) 132 if test "$FOUND_pthread" = "yes" ; then 133 LIBS="$LIBS -lpthread" 134 fi 135 136 #checking for libs 137 AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) 138 if test "$FOUND_pthread" = "yes" ; then 139 LIBS="$LIBS -lpthread" 140 fi 141 142 143 144 145 105 146 # FIXME: Replace `main' with a function in `-lm': 106 147 AC_CHECK_LIB([m], [main])
Note: See TracChangeset
for help on using the changeset viewer.