Diff for /Amaya/configure.in between versions 1.263 and 1.264

version 1.263, 2009/12/08 11:20:53 version 1.264, 2009/12/08 13:59:38
Line 167  AC_CHECK_FUNCS(getcwd gethostname gettim Line 167  AC_CHECK_FUNCS(getcwd gethostname gettim
 # Check for operating system (UNIX / WINDOWS / MACOSX )  # Check for operating system (UNIX / WINDOWS / MACOSX )
 # ---------->  # ---------->
   
 #default library path  
 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown  
 SYSLIB_PATH="/usr/lib"  
 if test "${UNAME_MACHINE}"="x86_64" ; then  
  SYSLIB_PATH="/usr/lib64"  
 fi  
   
 # canonicalize the target OS  # canonicalize the target OS
 AMAYAOS="LINUX"  AMAYAOS="LINUX"
 case $target_os in  case $target_os in
Line 201  if test "$AMAYAOS" = "WINDOWS" ; then Line 194  if test "$AMAYAOS" = "WINDOWS" ; then
   AC_MSG_ERROR(Windows port do not use configure - not yet tested.)    AC_MSG_ERROR(Windows port do not use configure - not yet tested.)
 fi  fi
   
   #default library path
   UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
   SYSLIB_PATH="/usr/lib"
   
 OS_OPTIONS="-D_UNIX" # default is UNIX  OS_OPTIONS="-D_UNIX" # default is UNIX
 case $AMAYAOS in  case $AMAYAOS in
   LINUX)       OS_OPTIONS="-D_UNIX" ;;    LINUX)
   WINDOWS)     OS_OPTIONS="-D_WINDOWS" ;; # not tested (cygwin or mingw)              if test "$UNAME_MACHINE"="x86_64" ; then
   MACOSX)      OS_OPTIONS="-D_UNIX -D_MACOS" ;;                SYSLIB_PATH="/usr/lib64"
   FREEBSD)     OS_OPTIONS="-D_UNIX -D_FREEBSD" ;;              fi
               OS_OPTIONS="-D_UNIX" ;;
     WINDOWS)  OS_OPTIONS="-D_WINDOWS" ;; # not tested (cygwin or mingw)
     MACOSX)   OS_OPTIONS="-D_UNIX -D_MACOS" ;;
     FREEBSD)  OS_OPTIONS="-D_UNIX -D_FREEBSD" ;;
 esac  esac
   
 dnl  dnl
Line 283  AC_SUBST(AMAYAGUI) Line 284  AC_SUBST(AMAYAGUI)
 if test "$with_mesa" = "yes" ; then  if test "$with_mesa" = "yes" ; then
   # --------- compile Mesa library (opengl) --------------- #    # --------- compile Mesa library (opengl) --------------- #
   # check that the right configure is used    # check that the right configure is used
   if test "${UNAME_MACHINE}"="x86_64" ; then    if test "$SYSLIB_PATH"="/usr/lib64" ; then
     cp ../../Mesa/configs/linux-x86-64-static ../../Mesa/configs/current      cp ../../Mesa/configs/linux-x86-64-static ../../Mesa/configs/current
   fi    fi
   # check that sources of Mesa exists    # check that sources of Mesa exists

Removed from v.1.263  
changed lines
  Added in v.1.264


Webmaster