]> git.mxchange.org Git - flightgear.git/commitdiff
MIPSpro doesn't like main() to be redefined.
authorehofman <ehofman>
Tue, 22 Nov 2005 20:01:33 +0000 (20:01 +0000)
committerehofman <ehofman>
Tue, 22 Nov 2005 20:01:33 +0000 (20:01 +0000)
utils/fgadmin/configure.ac

index aaf15c13d58acf0e0300594c64c5a7b993894348..0b48693aa35e16aea94f7cb277f3af2784f4730f 100644 (file)
@@ -53,7 +53,7 @@ dnl Checks for libraries.
 
 AC_LANG_PUSH(C++)
 
-AC_CHECK_LIB(fltk,main,LIBS="$LIBS `fltk-config --use-images --ldflags`"
+AC_CHECK_LIB(fltk,fl_yes,LIBS="$LIBS `fltk-config --use-images --ldflags`"
              LDFLAGS="$LDFLAGS `fltk-config --use-images --ldflags`"
             CPPFLAGS="$CPPFLAGS `fltk-config --cxxflags`",
   AC_MSG_ERROR(fltk library required get it at http://www.fltk.org))