94cc2cc247d9a36c78f1f6d86268def195b3ad72
[fw/sdcc] / device / lib / pic16 / configure.in
1 #
2 # configure.in - input script to autoconf to
3 #                configure directory
4 #
5 # This file is part of the GNU PIC Library.
6 #
7 # January, 2004
8 # The GNU PIC Library is maintained by,
9 #       Vangelis Rokas <vrokas@otenet.gr>
10 #
11 # $Id$
12 #
13
14 # Process this file with autoconf to produce a configure script.
15 AC_PREREQ(2.57)
16 AC_INIT
17
18 AC_DEFUN(AC_CONFIG_SRCDIR)
19 #AC_DEFUN(AC_CONFIG_FILES)
20
21 # Checks for programs.
22 AC_CHECK_PROG(GPASM,    gpasm,  gpasm, :)
23 AC_CHECK_PROG(GPLINK,   gplink, gplink, :)
24 AC_CHECK_PROG(GPLIB,    gplib,  gplib, :)
25
26 AC_CHECK_PROG(RM,       rm,     [rm -f], :)
27 AC_CHECK_PROG(CP,       cp,     cp, :)
28 AC_CHECK_PROG(MV,       mv,     mv, :)
29 AC_CHECK_PROG(LS,       ls,     ls, :)
30 AC_CHECK_PROG(SED,      sed,    sed, :)
31 AC_PROG_EGREP
32 AC_CHECK_PROG(MKDIR,    mkdir,  [mkdir -p], :)
33 AC_CHECK_PROG(RMDIR,    rmdir,  rmdir, :)
34
35 AC_PROG_MAKE_SET
36
37 # Checks for libraries.
38
39 # Checks for header files.
40
41 # Checks for typedefs, structures, and compiler characteristics.
42
43 # Checks for library functions.
44
45 $CP "$srcdir"/pics.all pics.build
46
47 AC_CONFIG_FILES([Makefile
48                  Makefile.common
49                  debug/Makefile
50                  debug/gstack/Makefile
51                  libc/Makefile
52                  libc/ctype/Makefile
53                  libc/delay/Makefile
54                  libc/stdio/Makefile
55                  libc/stdlib/Makefile
56                  libc/string/Makefile
57                  libc/utils/Makefile
58                  libdev/Makefile
59                  libio/Makefile
60                  libio/adc/Makefile
61                  libio/i2c/Makefile
62                  libio/usart/Makefile
63                  libm/Makefile
64                  libsdcc/Makefile
65                  libsdcc/char/Makefile
66                  libsdcc/fixed16x16/Makefile
67                  libsdcc/float/Makefile
68                  libsdcc/gptr/Makefile
69                  libsdcc/int/Makefile
70                  libsdcc/long/Makefile
71                  libsdcc/lregs/Makefile
72                  libsdcc/stack/Makefile
73                  startup/Makefile
74                  ])
75 AC_OUTPUT