summaryrefslogtreecommitdiff
path: root/libs/gtkmm2/configure.in
blob: d2e61a7572e75ebf1a220c2c5b1774acf0a80c9b (plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
# Configure.in
#
#  This file tests for various compiler features needed to configure 
#  the gtkmm package.  Original skeleton was provided by Stephan Kulow.
#  All tests were written by Tero Pulkkinen, Mirko Streckenbach, and 
#  Karl Nelson.
#
#  NOTE! IF YOU DO CHANGES HERE, CHECK IF YOU NEED TO MODIFY .m4 TOO!!!
#
#  Copyright 2001 Free Software Foundation
#  Copyright 1999 gtkmm Development Team
#  Copyright 1998 Stephan Kulow 
#

#We use pushdef here because we can't use shell variables before AC_INIT, but we want to use a variable with AC_INIT:
pushdef([GTKMM_MAJOR_VERSION],     [2])
pushdef([GTKMM_MINOR_VERSION],     [12])
pushdef([GTKMM_MICRO_VERSION],     [3])
pushdef([GTKMM_EXTRA_VERSION],     [])
pushdef([GTKMM_VERSION], GTKMM_MAJOR_VERSION.GTKMM_MINOR_VERSION.GTKMM_MICRO_VERSION[]GTKMM_EXTRA_VERSION)
AC_INIT([gtkmm], GTKMM_VERSION, [gtkmm-list@gnome.org])
AC_CONFIG_SRCDIR([gtk/gtkmmconfig.h.in])
AC_PREREQ(2.59)

#########################################################################
#  Version and initialization
#########################################################################
[GTKMM_MAJOR_VERSION]=GTKMM_MAJOR_VERSION
[GTKMM_MINOR_VERSION]=GTKMM_MINOR_VERSION
[GTKMM_MICRO_VERSION]=GTKMM_MICRO_VERSION
[GTKMM_EXTRA_VERSION]=GTKMM_EXTRA_VERSION
[GTKMM_VERSION]=GTKMM_VERSION
popdef([GTKMM_MAJOR_VERSION])
popdef([GTKMM_MINOR_VERSION])
popdef([GTKMM_MICRO_VERSION])
popdef([GTKMM_EXTRA_VERSION])
popdef([GTKMM_VERSION])
GTKMM_RELEASE=$GTKMM_MAJOR_VERSION.$GTKMM_MINOR_VERSION
AC_DEFINE_UNQUOTED(GTKMM_MAJOR_VERSION, $GTKMM_MAJOR_VERSION, [Major version of gtkmm])
AC_DEFINE_UNQUOTED(GTKMM_MINOR_VERSION, $GTKMM_MINOR_VERSION, [Minor version of gtkmm])
AC_DEFINE_UNQUOTED(GTKMM_MICRO_VERSION, $GTKMM_MICRO_VERSION, [Micro version of gtkmm])
AC_SUBST(GTKMM_MAJOR_VERSION)
AC_SUBST(GTKMM_MINOR_VERSION)
AC_SUBST(GTKMM_MICRO_VERSION)
AC_SUBST(GTKMM_VERSION)
AC_SUBST(GTKMM_RELEASE)

#
# +1 : ? : +1  == new interface that does not break old one
# +1 : ? : 0   == new interface that breaks old one
#  ? : ? : 0   == no new interfaces, but breaks apps
#  ? :+1 : ?   == just some internal changes, nothing breaks but might work 
#                 better
# CURRENT : REVISION : AGE
LIBGTKMM_SO_VERSION=1:30:0
AC_SUBST(LIBGTKMM_SO_VERSION)

AC_CONFIG_AUX_DIR(scripts)

# Initialize automake stuff
# tar-ustar asks it to use a sensible tar format that can handle long filenames.
AM_INIT_AUTOMAKE([1.9 tar-ustar])

dnl Specify a configuration file (no autoheader)
AM_CONFIG_HEADER(config.h gdk/gdkmmconfig.h gtk/gtkmmconfig.h)
AM_MAINTAINER_MODE
AL_ACLOCAL_INCLUDE(scripts)


#########################################################################
#  Configure arguments 
#########################################################################

#########################################################################
#  Environment Checks
#########################################################################
AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET
AC_CANONICAL_BUILD
AC_CANONICAL_HOST

dnl Used for enabling the "-no-undefined" flag while generating DLLs
dnl Copied from the official gtk+-2 configure.in
AC_MSG_CHECKING([for some Win32 platform])
case "$host" in
  *-*-mingw*|*-*-cygwin*)
    platform_win32=yes
    ;;
  *)
    platform_win32=no
    ;;
esac
AC_MSG_RESULT([$platform_win32])
AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")

AC_MSG_CHECKING([for native Win32])
case "$host" in
  *-*-mingw*)
    os_win32=yes
    ;;
  *)
    os_win32=no
    ;;
esac
AC_MSG_RESULT([$os_win32])
AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")

AC_DISABLE_STATIC
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL

AL_PROG_GNU_M4(AC_MSG_ERROR([dnl
SUN m4 does not work for building gtkmm. 
Please install GNU m4.]))

AL_PROG_GNU_MAKE(AC_MSG_ERROR([dnl
SUN make does not work for building gtkmm.
Please install GNU make.]))

# This macro is installed by glibmm
# Doxygen needs the path to the installed perl.
GLIBMM_CHECK_PERL([5.6.0])

#########################################################################
#  Function checks
#########################################################################

AC_CHECK_FUNC(mkfifo, AC_DEFINE(HAVE_MKFIFO))

# functions used in demos/gtk-demo. Undefined in config.h.
AC_LANG_PUSH(C++)
AC_MSG_CHECKING([for flockfile])
AC_TRY_LINK([
#include <stdio.h>],[
flockfile (NULL);],[
  AC_MSG_RESULT(yes)
  AC_DEFINE(HAVE_FLOCKFILE, 1,
    [Define to 1 if you have the `flockfile' function.])],[
  AC_MSG_RESULT(no)
  AC_MSG_CHECKING([for flockfile with a custom prototype])
  AC_TRY_LINK([
#include <stdio.h>

extern "C" void flockfile (FILE *);],[
flockfile (NULL);],[
    AC_MSG_RESULT(yes)
    AC_DEFINE(HAVE_FLOCKFILE, 1,
      [Define to 1 if you have the `flockfile' function.])
    AC_DEFINE(NEED_FLOCKFILE_PROTO, 1,
      [Define if flockfile() prototype needed.])],[
    AC_MSG_RESULT(not available)])])

AC_MSG_CHECKING([for funlockfile])
AC_TRY_LINK([
#include <stdio.h>],[
funlockfile (NULL);],[
  AC_MSG_RESULT(yes)
  AC_DEFINE(HAVE_FUNLOCKFILE, 1,
    [Define to 1 if you have the `funlockfile' function.])],[
  AC_MSG_RESULT(no)
  AC_MSG_CHECKING([for funlockfile with a custom prototype])
  AC_TRY_LINK([
#include <stdio.h>

extern "C" void funlockfile (FILE *);],[
funlockfile (NULL);],[
    AC_MSG_RESULT(yes)
    AC_DEFINE(HAVE_FUNLOCKFILE, 1,
      [Define to 1 if you have the `funlockfile' function.])
    AC_DEFINE(NEED_FUNLOCKFILE_PROTO, 1,
      [Define if funlockfile() prototype needed.])],[
    AC_MSG_RESULT(not available)])])

AC_MSG_CHECKING([for getc_unlocked])
AC_TRY_LINK([
#include <stdio.h>],[
getc_unlocked (NULL);],[
  AC_MSG_RESULT(yes)
  AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
    [Define to 1 if you have the `getc_unlocked' function.])],[
  AC_MSG_RESULT(no)
  AC_MSG_CHECKING([for getc_unlocked with a custom prototype])
  AC_TRY_LINK([
#include <stdio.h>

extern "C" int getc_unlocked (FILE *);],[
getc_unlocked (NULL);],[
    AC_MSG_RESULT(yes)
    AC_DEFINE(HAVE_GETC_UNLOCKED, 1,
      [Define to 1 if you have the `getc_unlocked' function.])
    AC_DEFINE(NEED_GETC_UNLOCKED_PROTO, 1,
      [Define if getc_unlocked() prototype needed.])],[
    AC_MSG_RESULT(not available)])])
AC_LANG_POP(C++)

#########################################################################
#  Dependancy checks
#########################################################################
gtkmm_min_glibmm_version=2.14.1
gtkmm_min_gtk_version=2.12.0
gtkmm_min_cairomm_version=1.1.12


GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`
GMMPROC_DIR=$GLIBMM_LIBDIR/glibmm-2.4/proc
AC_SUBST(GMMPROC_DIR)
GMMPROC=$GMMPROC_DIR/gmmproc
AC_SUBST(GMMPROC)


PKG_CHECK_MODULES(ATKMM, glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0)
AC_SUBST(ATKMM_CFLAGS)
AC_SUBST(ATKMM_LIBS)

PKG_CHECK_MODULES(PANGOMM, glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2)
AC_SUBST(PANGOMM_CFLAGS)
AC_SUBST(PANGOMM_LIBS)

# gdkmm really does need GTK+, because part of Gdk::DragContext is in GTK+.
PKG_CHECK_MODULES(GDKMM, glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version})
AC_SUBST(GDKMM_CFLAGS)
AC_SUBST(GDKMM_LIBS)

# Only check for gtk+-unix-print-2.0 on non-win32 platform, as 
# gtk+-unix-print-2.0.pc is not always included in win32 installers. 
if test x"$os_win32" = xyes; then
  PKG_CHECK_MODULES(GTKMM, glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version})
else
  PKG_CHECK_MODULES(GTKMM, glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version})
fi
AC_SUBST(GTKMM_CFLAGS)
AC_SUBST(GTKMM_LIBS)

# gthread isn't a requirement, but we should use its CFLAGS if available.
PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.4.0,[],[GTHREAD_CFLAGS=''; GTHREAD_LIBS=''])
AC_SUBST(GTHREAD_CFLAGS)
AC_SUBST(GTHREAD_LIBS)

#########################################################################
#  C++ checks
#########################################################################
AC_PROG_CXX

# Check for the SUN Forte compiler, and define GLIBMM_COMPILER_SUN_FORTE in the header.
#GLIBMM_PROG_CXX_SUN

# Ensure MSVC-compatible struct packing convention is used when
# compiling for Win32 with gcc.
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
# gcc2 uses "-fnative-struct".
if test x"$os_win32" = xyes; then
  if test x"$GCC" = xyes -a x"$GXX" = xyes; then
    msnative_struct=''
    AC_MSG_CHECKING([how to get MSVC-compatible struct packing])
    if test -z "$ac_cv_prog_CC"; then
      our_gcc="$CC"
    else
      our_gcc="$ac_cv_prog_CC"
    fi
    case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
      2.)
	if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
	  msnative_struct='-fnative-struct'
	fi
	;;
      *)
	if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
	  msnative_struct='-mms-bitfields'
	fi
	;;
    esac
    if test x"$msnative_struct" = x ; then
      AC_MSG_RESULT([no way])
      AC_MSG_WARN([produced libraries might be incompatible with MSVC-compiled code])
    else
      CXXFLAGS="$CXXFLAGS $msnative_struct"
      AC_MSG_RESULT([${msnative_struct}])
    fi
  fi
fi

AC_LANG_CPLUSPLUS


# Create a list of input directories for Doxygen.
GTKMM_DOXYGEN_INPUT_SUBDIRS([pango atk gdk gtk])

# Evaluate the --enable-warnings=level option.
GTKMM_ARG_ENABLE_WARNINGS()

# Add an --enable-use-deprecations configure option:
AC_ARG_ENABLE(deprecations,
              [AC_HELP_STRING([--enable-use-deprecations],
                              [warn about deprecated usages [default=no]])],,
              [enable_deprecations=no])
              
if test "x$enable_use_deprecations" = "xyes"; then
   DISABLE_DEPRECATED_CFLAGS="\
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGNOME_DISABLE_DEPRECATED"
   AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
fi
	
# Add an --enable-deprecated-api option:
AC_ARG_ENABLE(deprecated-api, [AC_HELP_STRING([--enable-deprecated-api],
                                        [include (build) deprecated API in the libraries [default=yes]])],,
                        [enable_deprecated_api=yes])
if test "x$enable_deprecated_api" = "xyes"; then
AC_MSG_WARN([Deprecated API will be built, for backwards-compatibility.])
else
  AC_DEFINE(PANGOMM_DISABLE_DEPRECATED, 1, [Whether not to build deprecated API in pangomm])
  AC_DEFINE(ATKMM_DISABLE_DEPRECATED, 1, [Whether not to build deprecated API in atkmm])
  AC_DEFINE(GDKMM_DISABLE_DEPRECATED, 1, [Whether not to build deprecated API in gdkmm])
  AC_DEFINE(GTKMM_DISABLE_DEPRECATED, 1, [Whether not to build deprecated API in gtkmm])
  DISABLE_DEPRECATED_API_CFLAGS="-DPANGOMM_DISABLE_DEPRECATED -DATKMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED"
AC_SUBST(DISABLE_DEPRECATED_API_CFLAGS)
AC_MSG_WARN([Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages.])
fi


AC_ARG_ENABLE(examples, [AC_HELP_STRING([--enable-examples],
                                        [build the included examples [default=yes]])],,
                        [enable_examples=yes])
if test "x$enable_examples" = "xyes"; then
  EXAMPLE_SUBDIR="examples"
  AC_CONFIG_FILES([
    examples/Makefile
      examples/arrow/Makefile
      examples/base/Makefile
      examples/book/Makefile
        examples/book/alignment/Makefile
        examples/book/aspectframe/Makefile
        examples/book/box/Makefile
        examples/book/builder/Makefile
        examples/book/builder/basic/Makefile
        examples/book/builder/derived/Makefile
        examples/book/buttonbox/Makefile
        examples/book/buttons/Makefile
          examples/book/buttons/button/Makefile
          examples/book/buttons/checkbutton/Makefile
          examples/book/buttons/filechooserbutton/Makefile
          examples/book/buttons/radiobutton/Makefile
          examples/book/buttons/togglebutton/Makefile
      examples/book/clipboard/Makefile
        examples/book/clipboard/simple/Makefile
        examples/book/clipboard/ideal/Makefile
      examples/book/combobox/Makefile
        examples/book/combobox/text/Makefile
        examples/book/combobox/complex/Makefile
      examples/book/comboboxentry/Makefile
        examples/book/comboboxentry/text/Makefile
        examples/book/comboboxentry/complex/Makefile
      examples/book/custom/Makefile
        examples/book/custom/custom_container/Makefile
        examples/book/custom/custom_widget/Makefile
      examples/book/dialogs/Makefile
          examples/book/dialogs/aboutdialog/Makefile
          examples/book/dialogs/colorselectiondialog/Makefile
          examples/book/dialogs/filechooserdialog/Makefile        
          examples/book/dialogs/fileselection/Makefile
          examples/book/dialogs/fontselectiondialog/Makefile
          examples/book/dialogs/messagedialog/Makefile
          examples/book/dialogs/simple/Makefile
        examples/book/drag_and_drop/Makefile
        examples/book/drawingarea/Makefile
        examples/book/drawingarea/simple/Makefile
        examples/book/drawingarea/curve/Makefile
        examples/book/drawingarea/arcs/Makefile
        examples/book/drawingarea/clock/Makefile
        examples/book/drawingarea/joins/Makefile
        examples/book/entry/Makefile
          examples/book/entry/completion/Makefile
          examples/book/entry/simple/Makefile
        examples/book/eventbox/Makefile
        examples/book/expander/Makefile
        examples/book/frame/Makefile
        examples/book/helloworld/Makefile
        examples/book/helloworld2/Makefile
        examples/book/iconview/Makefile
        examples/book/idle/Makefile
        examples/book/input/Makefile
        examples/book/label/Makefile
        examples/book/menus/Makefile
          examples/book/menus/main_menu/Makefile
          examples/book/menus/popup/Makefile
        examples/book/menus_and_toolbars/Makefile
        examples/book/notebook/Makefile
        examples/book/paned/Makefile
	examples/book/printing/Makefile
	  examples/book/printing/advanced/Makefile
	  examples/book/printing/simple/Makefile
        examples/book/progressbar/Makefile
        examples/book/recent_files/Makefile
        examples/book/range_widgets/Makefile
        examples/book/scrolledwindow/Makefile
        examples/book/signals/Makefile
          examples/book/signals/custom/Makefile
        examples/book/socket/Makefile
        examples/book/spinbutton/Makefile
        examples/book/statusicon/Makefile
        examples/book/table/Makefile
        examples/book/textview/Makefile
        examples/book/timeout/Makefile
        examples/book/toolbar/Makefile
        examples/book/tooltips/Makefile
        examples/book/treeview/Makefile
          examples/book/treeview/combo_renderer/Makefile
          examples/book/treeview/editable_cells/Makefile
          examples/book/treeview/list/Makefile
          examples/book/treeview/listviewtext/Makefile
          examples/book/treeview/tree/Makefile
          examples/book/treeview/drag_and_drop/Makefile
          examples/book/treeview/popup/Makefile
          examples/book/treeview/filter/Makefile
          examples/book/treeview/filter_modify/Makefile
          examples/book/treeview/modelsort/Makefile
        examples/book/update_ui/Makefile
      examples/calendar/Makefile
      examples/dnd/Makefile
      examples/exception/Makefile
      examples/gdk/Makefile
      examples/rulers/Makefile
      examples/statusbar/Makefile
      examples/stock/Makefile
      examples/tictactoe/Makefile
      examples/treemodelcustom/Makefile
      examples/window/Makefile
  ])
else
  EXAMPLE_SUBDIR=""
fi

AC_SUBST(EXAMPLE_SUBDIR)


AC_ARG_ENABLE(demos, [AC_HELP_STRING([--enable-demos],
              [build the included demos [default=yes]])],,
                        [enable_demos=yes])
if test "x$enable_demos" = "xyes"; then
  DEMO_SUBDIR="demos"
  AC_CONFIG_FILES([
    demos/Makefile
      demos/gtk-demo/Makefile
  ])
else
  DEMO_SUBDIR=""
fi

AC_SUBST(DEMO_SUBDIR)


#Offer the ability to omit some API from the library, 
#to reduce the code size:
#Note that there are other options in glibmm, which affect gtkmm.
GTKMM_ARG_ENABLE_API_ATKMM()

if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
  AC_CONFIG_FILES([
	atk/Makefile
  	atk/atkmm-1.6.pc
	atk/src/Makefile
	atk/atkmm/Makefile
	atk/atkmm/private/Makefile
  ])
  GTKMM_PC_ATKMM_DEP="atkmm-1.6"
else
  GTKMM_PC_ATKMM_DEP=""
fi
AC_SUBST(GTKMM_PC_ATKMM_DEP)

#Allow us to test for atkmm support in Makefile.am files:
AM_CONDITIONAL(GTKMM_ATKMM_ENABLED, test "x$gtkmm_enable_api_atkmm" = "xyes")


GTKMM_ARG_ENABLE_API_MAEMO_EXTENSIONS()


AC_ARG_ENABLE(docs, [AC_HELP_STRING([--enable-docs],
              [build the included docs [default=yes]])],,
                        [enable_docs=yes])
if test "x$enable_docs" = "xyes"; then
  DOCS_SUBDIR="docs"
  AC_CONFIG_FILES([
    docs/Makefile
      docs/FAQ/Makefile
      docs/images/Makefile
      docs/tutorial/Makefile
        docs/tutorial/figures/Makefile
        docs/tutorial/icons/Makefile
      docs/reference/Makefile
      docs/reference/Doxyfile
  ])
else
  DOCS_SUBDIR=""
fi
AC_SUBST(DOCS_SUBDIR)

# Dummy conditional just to make automake-1.4 happy.
# We need an always-false condition in docs/Makefile.am.
AM_CONDITIONAL(GTKMM_FALSE,[false])

# HACK:  Assign a dummy in order to prevent execution of autoheader by the
# maintainer-mode rules.  That would fail since we aren't using autoheader.
AUTOHEADER=':'


AC_CONFIG_FILES([
  Makefile

  gdk/Makefile
  gdk/gdkmm-2.4.pc
    gdk/src/Makefile
    gdk/gdkmm/Makefile
      gdk/gdkmm/private/Makefile

  gtk/Makefile
  gtk/gtkmm-2.4.pc
    gtk/src/Makefile
    gtk/gtkmm/Makefile
      gtk/gtkmm/private/Makefile

  pango/Makefile
  pango/pangomm-1.4.pc
    pango/src/Makefile
    pango/pangomm/Makefile
      pango/pangomm/private/Makefile

  tools/Makefile
    tools/m4/Makefile
    tools/extra_defs_gen/Makefile
])

AC_CONFIG_FILES([
  tests/Makefile
    tests/child_widget/Makefile
    tests/child_widget2/Makefile
    tests/child_widget_managed/Makefile
    tests/refcount_dialog/Makefile
    tests/dialog/Makefile
    tests/dialog_deletethis/Makefile
    tests/delete_cpp_child/Makefile
    tests/main_with_options/Makefile
    tests/menu_destruction/Makefile
    tests/property_notification/Makefile
    tests/scrolledwindow/Makefile
    tests/wrap_existing/Makefile
])

AC_CONFIG_FILES([
  scripts/Makefile
])

AC_CONFIG_FILES([
  MSVC_Net2003/Makefile
    MSVC_Net2003/gendef/Makefile
    MSVC_Net2003/atkmm/Makefile
    MSVC_Net2003/atkmm/atkmm.rc
    MSVC_Net2003/pangomm/Makefile
    MSVC_Net2003/pangomm/pangomm.rc
    MSVC_Net2003/gdkmm/Makefile
    MSVC_Net2003/gdkmm/gdkmm.rc
    MSVC_Net2003/gtkmm/Makefile
    MSVC_Net2003/gtkmm/gtkmm.rc
    MSVC_Net2003/demos/Makefile
      MSVC_Net2003/demos/gtk-demo/Makefile
    MSVC_Net2003/examples/Makefile
      MSVC_Net2003/examples/arrow/Makefile
      MSVC_Net2003/examples/calendar/Makefile
      MSVC_Net2003/examples/cellrenderercustom_popup/Makefile
      MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile
      MSVC_Net2003/examples/direction/Makefile
      MSVC_Net2003/examples/dnd/Makefile
      MSVC_Net2003/examples/exception/Makefile
      MSVC_Net2003/examples/gdk/Makefile
      MSVC_Net2003/examples/printing/Makefile
      MSVC_Net2003/examples/rulers/Makefile
      MSVC_Net2003/examples/statusbar/Makefile
      MSVC_Net2003/examples/stock/Makefile
      MSVC_Net2003/examples/tictactoe/Makefile
      MSVC_Net2003/examples/treemodelcustom/Makefile
      MSVC_Net2003/examples/window/Makefile
])

AC_OUTPUT()