|
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 | |
|---|
| 1 | AC_INIT([Open Yahtzee],[1.9],[guyrutenberg@gmail.com],[openyahtzee]) |
|---|
| 2 | |
|---|
| 3 | AM_INIT_AUTOMAKE([-Wall -Werror]) |
|---|
| 4 | AC_CONFIG_SRCDIR([src/openyahtzee.cpp]) |
|---|
| 5 | AC_CONFIG_HEADER([config.h]) |
|---|
| 6 | |
|---|
| 7 | m4_include(macros/wxwin.m4) |
|---|
| 8 | |
|---|
| 9 | dnl AC_LANG_CPLUSPLUS |
|---|
| 10 | AC_PROG_CXX |
|---|
| 11 | AC_PROG_CC # this is only needed for the SQLite support |
|---|
| 12 | dnl AM_PROG_LIBTOOL |
|---|
| 13 | |
|---|
| 14 | AM_OPTIONS_WXCONFIG |
|---|
| 15 | #Detect wxWidgets |
|---|
| 16 | MIN_WX_VERSION="2.8.0" |
|---|
| 17 | AM_PATH_WXCONFIG($MIN_WX_VERSION, wxWin=1) |
|---|
| 18 | if test "$wxWin" != 1; then |
|---|
| 19 | AC_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 | ]) |
|---|
| 28 | fi |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | AC_CONFIG_FILES([Makefile src/Makefile]) |
|---|
| 32 | AC_OUTPUT |
|---|