root/trunk/configure.ac

Revision 173, 0.8 KB (checked in by guyru, 2 years ago)

Add sqlite to source package so no external dependency is needed

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1AC_INIT([Open Yahtzee],[1.9],[guyrutenberg@gmail.com],[openyahtzee])
2
3AM_INIT_AUTOMAKE([-Wall -Werror])
4AC_CONFIG_SRCDIR([src/openyahtzee.cpp])
5AC_CONFIG_HEADER([config.h])
6
7m4_include(macros/wxwin.m4)
8
9dnl AC_LANG_CPLUSPLUS
10AC_PROG_CXX
11AC_PROG_CC # this is only needed for the SQLite support
12dnl AM_PROG_LIBTOOL
13
14AM_OPTIONS_WXCONFIG
15#Detect wxWidgets
16MIN_WX_VERSION="2.8.0"
17AM_PATH_WXCONFIG($MIN_WX_VERSION, wxWin=1)
18if test "$wxWin" != 1; then
19AC_MSG_ERROR([
20        wxWidgets must be installed on your system
21        but wx-config script couldn't be found.
22
23        Please check that wx-config is in path, the directory
24        where wxWidgets libraries are installed (returned by
25        'wx-config --libs' command) is in LD_LIBRARY_PATH or
26        equivalent variable and wxWidgets version is $MIN_WX_VERSION or above.
27])
28fi
29
30
31AC_CONFIG_FILES([Makefile src/Makefile])
32AC_OUTPUT
Note: See TracBrowser for help on using the browser.