File: configure.in

package info (click to toggle)
fnlib 0.4-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,836 kB
  • ctags: 127
  • sloc: sh: 6,764; ansic: 2,432; makefile: 137
file content (69 lines) | stat: -rw-r--r-- 1,567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
AC_INIT(Fnlib/Fnlib.h)

AM_CONFIG_HEADER(config.h)

AM_INIT_AUTOMAKE(fnlib, 0.4)

AM_PROG_LIBTOOL
AC_PROG_CC

dnl AM_PATH_GTK(1.0.1,
dnl    GDK_FNLIB="gdk_fnlib",
dnl    GDK_IFNLIB=""
dnl    AC_MSG_WARN([*** gdk_fnlib will not be built ***]))

AM_PATH_IMLIB(1.8.0, ,
        AC_MSG_ERROR([*** IMLIB 1.8 not installed - please install first ***]))
CFLAGS="$CFLAGS $IMLIB_CFLAGS"
LIBS="$IMLIB_LIBS"

AC_SUBST(GDK_FNLIB)

AC_HEADER_STDC
AC_HEADER_DIRENT
AC_HEADER_SYS_WAIT
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF

AC_CHECK_HEADER(string.h)
AC_CHECK_HEADER(strings.h)

AC_CHECK_LIB(m, main)
AC_PATH_X
AC_PATH_XTRA
AC_CHECK_LIB(Xext, main)

edata=`ls -1 $srcdir/fonts/fonts/e/17 | egrep -v '(Makefile|CVS)'`
rockdata=`ls -1 $srcdir/fonts/fonts/rock/90 | egrep -v '(Makefile|CVS)'`
shinydata=`ls -1 $srcdir/fonts/fonts/shinymetal/45 | egrep -v '(Makefile|CVS)'`

edata=`echo $edata`
rockdata=`echo $rockdata`
shinydata=`echo $shinydata`

AC_SUBST(edata)
AC_SUBST(rockdata)
AC_SUBST(shinydata)

dnl fnrcdir=${sysconfdir}
dnl echo fnrcdir is $fnrcdir
dnl AC_SUBST(fnrcdir)

fontdatadir=$datadir/fnlib_fonts
AC_SUBST(fontdatadir)

dnl# Since gdk_fnlib isn't live, let's not get the warnings -- mej
dnl# AC_OUTPUT(gdk_fnlib/Makefile Fnlib/Makefile fonts/Makefile config/Makefile config/fnrc doc/Makefile Makefile)
AC_OUTPUT(
Fnlib/Makefile
fonts/Makefile
fonts/fonts/Makefile
fonts/fonts/e/Makefile
fonts/fonts/e/17/Makefile
fonts/fonts/rock/Makefile
fonts/fonts/rock/90/Makefile
fonts/fonts/shinymetal/Makefile
fonts/fonts/shinymetal/45/Makefile
doc/Makefile
config/Makefile
Makefile)