summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/clanlib/app-configure.in
blob: c15185708a23eb3bc047cdbc7b8704e3c2746fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AC_INIT()
AM_INIT_AUTOMAKE(%{APPNAMELC},%{VERSION})

AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET


AC_LANG_SAVE
AC_LANG_CPLUSPLUS

AC_CHECK_HEADER([ClanLib/application.h], [],
	AC_MSG_ERROR([Couldn't find Clanlib headers.]))

AC_CHECK_LIB(clanApp, main, , AC_ERROR([Couldn't find Clanlib libraries]), -lclanCore -lclanSignals -ldl)

AC_LANG_RESTORE


AC_OUTPUT(Makefile src/Makefile)