1 dnl Process this file with autoconf to produce a configure script.
9 AC_MSG_CHECKING(for AmigaOS FD files)
10 amigaos_inlines=amigaos_inlines
11 amigaos_fd_path='not found'
12 if test -d $prefix/os-lib/fd/amigaos; then
13 amigaos_fd_path=$prefix/os-lib/fd/amigaos
14 elif test -f $prefix/os-lib/fd/exec_lib.fd; then
15 amigaos_fd_path=$prefix/os-lib/fd
16 elif test -d /FD; then
21 AC_MSG_RESULT($amigaos_fd_path)
23 amigaos_header_path='not found'
24 if test $amigaos_inlines != nop; then
25 AC_MSG_CHECKING(for AmigaOS headers)
26 if test -d $prefix/os-include/amigaos; then
27 amigaos_header_path=$prefix/os-include/amigaos
28 elif test -d $prefix/os-include/exec; then
29 amigaos_header_path=$prefix/os-include
31 AC_MSG_ERROR(not found)
33 AC_MSG_RESULT($amigaos_header_path)
38 AC_MSG_CHECKING(for p.OS FD files)
39 pos_inlines=pos_inlines
40 pos_fd_path='not found'
41 if test -d $prefix/os-lib/fd/pos; then
42 pos_fd_path=$prefix/os-lib/fd/pos
43 elif test -d /p/../pOS_FD; then
44 pos_fd_path=/p/../pOS_FD
48 AC_MSG_RESULT($pos_fd_path)
50 pos_header_path='not found'
51 if test $pos_inlines != nop; then
52 AC_MSG_CHECKING(for p.OS headers)
53 if test -d $prefix/os-include/pos; then
54 pos_header_path=$prefix/os-include/pos
55 elif test -d $prefix/os-include/pExec; then
56 pos_header_path=$prefix/os-include
60 AC_MSG_ERROR(not found)
62 AC_MSG_RESULT($pos_header_path)
67 AC_SUBST(amigaos_inlines)
68 AC_SUBST(amigaos_fd_path)
69 AC_SUBST(amigaos_header_path)
72 AC_SUBST(pos_header_path)
75 AC_OUTPUT(Makefile Makefile.cross cross/bin/gg-fix-includes lib/Makefile)