5 |
|
|
6 |
m4_define(gigedit_ver_major, 1) |
m4_define(gigedit_ver_major, 1) |
7 |
m4_define(gigedit_ver_minor, 1) |
m4_define(gigedit_ver_minor, 1) |
8 |
m4_define(gigedit_ver_release, 1.svn1) |
m4_define(gigedit_ver_release, 1.svn2) |
9 |
|
|
10 |
AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) |
AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) |
11 |
AC_CONFIG_SRCDIR([configure.ac]) |
AC_CONFIG_SRCDIR([configure.ac]) |
70 |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
71 |
AM_CONDITIONAL(MAC, test "$mac" = "yes") |
AM_CONDITIONAL(MAC, test "$mac" = "yes") |
72 |
|
|
73 |
|
# make sure C++11 is supported by compiler |
74 |
|
# (add CXXFLAGS if required [e.g. -std=c++11]) |
75 |
|
m4_ifdef([m4_include(m4/ax_cxx_compile_stdcxx.m4)],, |
76 |
|
[sinclude([m4/ax_cxx_compile_stdcxx.m4])]) |
77 |
|
AX_CXX_COMPILE_STDCXX(11, [], mandatory) |
78 |
|
|
79 |
# Note: even though Objective-C sources are just compiled for Mac, the |
# Note: even though Objective-C sources are just compiled for Mac, the |
80 |
# following AC macros though must not be embedded into a shell check |
# following AC macros though must not be embedded into a shell check |
81 |
# (if test "$mac" = "yes" ...), because those AC macros themselves are |
# (if test "$mac" = "yes" ...), because those AC macros themselves are |