1
0
Fork 0

Make sure /usr/local/{include,lib} is added for cygwin.

This commit is contained in:
curt 2004-03-18 02:33:59 +00:00
parent fe7321e91e
commit d7f5107378

View file

@ -10,7 +10,7 @@ dnl Require at least automake 2.52
AC_PREREQ(2.52) AC_PREREQ(2.52)
dnl Initialize the automake stuff dnl Initialize the automake stuff
AM_INIT_AUTOMAKE(FlightGear, 0.9.3) AM_INIT_AUTOMAKE(FlightGear, 0.9.4)
dnl Checks for programs. dnl Checks for programs.
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
@ -104,6 +104,12 @@ case "${host}" in
echo no EXTRA_DIRS for $host echo no EXTRA_DIRS for $host
;; ;;
*-*-cygwin*)
if test -d /usr/local ; then
EXTRA_DIRS="/usr/local"
fi
;;
*) *)
if test -d /usr/X11R6 ; then if test -d /usr/X11R6 ; then
EXTRA_DIR1="/usr/X11R6" EXTRA_DIR1="/usr/X11R6"
@ -355,7 +361,7 @@ if test "x$ac_cv_header_simgear_version_h" != "xyes"; then
exit exit
fi fi
AC_MSG_CHECKING([for simgear 0.3.4 or newer]) AC_MSG_CHECKING([for simgear 0.3.5 or newer])
AC_TRY_RUN([ AC_TRY_RUN([
#include <stdio.h> #include <stdio.h>
@ -366,7 +372,7 @@ AC_TRY_RUN([
#define MIN_MAJOR 0 #define MIN_MAJOR 0
#define MIN_MINOR 3 #define MIN_MINOR 3
#define MIN_MICRO 4 #define MIN_MICRO 5
int main() { int main() {
int major, minor, micro; int major, minor, micro;