Added FloattextObject from originally code submission which shows that text does...
[AROS.git] / tools / fd2inline / configure.in
blob7e3a959751e31394325cfb9f770a87396d1142dc
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(fd2inline.c)
4 AC_PROG_CC
5 AC_PROG_INSTALL
6 AC_PROG_RANLIB
7 AC_PROG_AWK
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
17   amigaos_fd_path=/FD
18 else
19   amigaos_inlines=nop
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
30   else
31     AC_MSG_ERROR(not found)
32   fi
33   AC_MSG_RESULT($amigaos_header_path)
34 else
35   true
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
45 else
46   pos_inlines=nop
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
57   elif test -d /p; then
58     pos_header_path=/p
59   else
60     AC_MSG_ERROR(not found)
61   fi
62   AC_MSG_RESULT($pos_header_path)
63 else
64   true
67 AC_SUBST(amigaos_inlines)
68 AC_SUBST(amigaos_fd_path)
69 AC_SUBST(amigaos_header_path)
70 AC_SUBST(pos_inlines)
71 AC_SUBST(pos_fd_path)
72 AC_SUBST(pos_header_path)
74 mkdir cross
75 AC_OUTPUT(Makefile Makefile.cross cross/bin/gg-fix-includes lib/Makefile)