1 --- gtkmm-2.12.5/configure.in.orig 2008-02-24 11:32:26.000000000 +0100
2 +++ gtkmm-2.12.5/configure.in 2008-03-15 16:37:58.575785958 +0100
5 AC_CHECK_FUNC(mkfifo, AC_DEFINE(HAVE_MKFIFO))
7 -# functions used in demos/gtk-demo. Undefined in config.h.
9 -AC_MSG_CHECKING([for flockfile])
11 -#include <stdio.h>],[
14 - AC_DEFINE(HAVE_FLOCKFILE, 1,
15 - [Define to 1 if you have the `flockfile' function.])],[
17 - AC_MSG_CHECKING([for flockfile with a custom prototype])
21 -extern "C" void flockfile (FILE *);],[
24 - AC_DEFINE(HAVE_FLOCKFILE, 1,
25 - [Define to 1 if you have the `flockfile' function.])
26 - AC_DEFINE(NEED_FLOCKFILE_PROTO, 1,
27 - [Define if flockfile() prototype needed.])],[
28 - AC_MSG_RESULT(not available)])])
30 -AC_MSG_CHECKING([for funlockfile])
32 -#include <stdio.h>],[
33 -funlockfile (NULL);],[
35 - AC_DEFINE(HAVE_FUNLOCKFILE, 1,
36 - [Define to 1 if you have the `funlockfile' function.])],[
38 - AC_MSG_CHECKING([for funlockfile with a custom prototype])
42 -extern "C" void funlockfile (FILE *);],[
43 -funlockfile (NULL);],[
45 - AC_DEFINE(HAVE_FUNLOCKFILE, 1,
46 - [Define to 1 if you have the `funlockfile' function.])
47 - AC_DEFINE(NEED_FUNLOCKFILE_PROTO, 1,
48 - [Define if funlockfile() prototype needed.])],[
49 - AC_MSG_RESULT(not available)])])
51 -AC_MSG_CHECKING([for getc_unlocked])
53 -#include <stdio.h>],[
54 -getc_unlocked (NULL);],[
56 - AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
57 - [Define to 1 if you have the `getc_unlocked' function.])],[
59 - AC_MSG_CHECKING([for getc_unlocked with a custom prototype])
63 -extern "C" int getc_unlocked (FILE *);],[
64 -getc_unlocked (NULL);],[
66 - AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
67 - [Define to 1 if you have the `getc_unlocked' function.])
68 - AC_DEFINE(NEED_GETC_UNLOCKED_PROTO, 1,
69 - [Define if getc_unlocked() prototype needed.])],[
70 - AC_MSG_RESULT(not available)])])
73 #########################################################################
75 #########################################################################
80 +# functions used in demos/gtk-demo. Undefined in config.h.
82 +AC_MSG_CHECKING([for flockfile])
84 +#include <stdio.h>],[
87 + AC_DEFINE(HAVE_FLOCKFILE, 1,
88 + [Define to 1 if you have the `flockfile' function.])],[
90 + AC_MSG_CHECKING([for flockfile with a custom prototype])
94 +extern "C" void flockfile (FILE *);],[
97 + AC_DEFINE(HAVE_FLOCKFILE, 1,
98 + [Define to 1 if you have the `flockfile' function.])
99 + AC_DEFINE(NEED_FLOCKFILE_PROTO, 1,
100 + [Define if flockfile() prototype needed.])],[
101 + AC_MSG_RESULT(not available)])])
103 +AC_MSG_CHECKING([for funlockfile])
105 +#include <stdio.h>],[
106 +funlockfile (NULL);],[
108 + AC_DEFINE(HAVE_FUNLOCKFILE, 1,
109 + [Define to 1 if you have the `funlockfile' function.])],[
111 + AC_MSG_CHECKING([for funlockfile with a custom prototype])
115 +extern "C" void funlockfile (FILE *);],[
116 +funlockfile (NULL);],[
118 + AC_DEFINE(HAVE_FUNLOCKFILE, 1,
119 + [Define to 1 if you have the `funlockfile' function.])
120 + AC_DEFINE(NEED_FUNLOCKFILE_PROTO, 1,
121 + [Define if funlockfile() prototype needed.])],[
122 + AC_MSG_RESULT(not available)])])
124 +AC_MSG_CHECKING([for getc_unlocked])
126 +#include <stdio.h>],[
127 +getc_unlocked (NULL);],[
129 + AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
130 + [Define to 1 if you have the `getc_unlocked' function.])],[
132 + AC_MSG_CHECKING([for getc_unlocked with a custom prototype])
136 +extern "C" int getc_unlocked (FILE *);],[
137 +getc_unlocked (NULL);],[
139 + AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
140 + [Define to 1 if you have the `getc_unlocked' function.])
141 + AC_DEFINE(NEED_GETC_UNLOCKED_PROTO, 1,
142 + [Define if getc_unlocked() prototype needed.])],[
143 + AC_MSG_RESULT(not available)])])
147 # Create a list of input directories for Doxygen.
148 GTKMM_DOXYGEN_INPUT_SUBDIRS([pango atk gdk gtk])