xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-wxwidgets/configure.ac (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1dnl Example for use of GNU gettext.
2dnl Copyright (C) 2003, 2006 Free Software Foundation, Inc.
3dnl This file is in the public domain.
4dnl
5dnl Configuration file - processed by autoconf.
6
7AC_INIT
8AC_CONFIG_SRCDIR(hello.cc)
9AM_INIT_AUTOMAKE(hello-c++-wxwidgets, 0)
10
11AC_PROG_CXX
12AC_CHECK_HEADERS([unistd.h])
13
14AM_OPTIONS_WXCONFIG
15AM_PATH_WXCONFIG([2.6.0], [], [AC_MSG_ERROR([wxWidgets not found])])
16AC_LIB_LINKFLAGS_FROM_LIBS([WX_LDADD], [$WX_LIBS])
17
18dnl Support for the po directory.
19AM_PO_SUBDIRS
20
21AC_CONFIG_FILES([Makefile])
22AC_CONFIG_FILES([m4/Makefile])
23AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
24AC_OUTPUT
25