comparison configure.in @ 6090:ee50f74d1dd7

[project @ 2006-10-25 21:08:53 by jwe]
author jwe
date Wed, 25 Oct 2006 21:10:56 +0000
parents 9f9313969599
children 96a11041f52b
comparison
equal deleted inserted replaced
6089:9f9313969599 6090:ee50f74d1dd7
27 27
28 EXTERN_CFLAGS="$CFLAGS" 28 EXTERN_CFLAGS="$CFLAGS"
29 EXTERN_CXXFLAGS="$CXXFLAGS" 29 EXTERN_CXXFLAGS="$CXXFLAGS"
30 30
31 AC_INIT 31 AC_INIT
32 AC_REVISION($Revision: 1.530 $) 32 AC_REVISION($Revision: 1.532 $)
33 AC_PREREQ(2.57) 33 AC_PREREQ(2.57)
34 AC_CONFIG_SRCDIR([src/octave.cc]) 34 AC_CONFIG_SRCDIR([src/octave.cc])
35 AC_CONFIG_HEADER(config.h) 35 AC_CONFIG_HEADER(config.h)
36 36
37 OCTAVE_HOST_TYPE 37 OCTAVE_HOST_TYPE
38 38
39 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) 39 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.])
40 40
41 dnl FIXME -- we should probably only generate this file if it is missing.
42 ### Produce unistd.h for MSVC target, this simplifies changes in
43 ### Octave source tree and avoid problems with lex-generated code.
44 case "$canonical_host_type" in
45 *-*-msdosmsvc)
46 AC_MSG_NOTICE([Generating replacement for <unistd.h> for MSVC])
47 cat << \EOF > unistd.h
48 /* File generated by configure script. */
49 #include <direct.h>
50 #include <io.h>
51 #include <process.h>
52 EOF
53 CPPFLAGS="-I. $CPPFLAGS"
54 ;;
55 esac
56
41 AC_GNU_SOURCE 57 AC_GNU_SOURCE
42 58
43 AC_AIX 59 AC_AIX
44 AC_MINIX 60 AC_MINIX
45 AC_ISC_POSIX 61 AC_ISC_POSIX
50 [AS_HELP_STRING([--with-sepchar=<char>], 66 [AS_HELP_STRING([--with-sepchar=<char>],
51 [use <char> as the path separation character])]) 67 [use <char> as the path separation character])])
52 case $with_sepchar in 68 case $with_sepchar in
53 yes | "") 69 yes | "")
54 case "$canonical_host_type" in 70 case "$canonical_host_type" in
55 *-*-mingw*) 71 *-*-mingw* | *-*-msdosmsvc)
56 sepchar=';' 72 sepchar=';'
57 ;; 73 ;;
58 esac 74 esac
59 ;; 75 ;;
60 no) 76 no)