From: Omari Stephens Date: Mon, 10 Jul 2017 07:41:49 +0000 (+0000) Subject: Merge pull request #498 from xsdg/c99 X-Git-Tag: v1.4~136 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=3e9460354734cda88a1ac6611682f87700fe3ed1;hp=2e5fe39deef29a14a22c116fd73fb40326183929 Merge pull request #498 from xsdg/c99 Compile geeqie in C99 mode --- diff --git a/configure.in b/configure.in index 9ab7cabf..d24e7f9c 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,7 @@ dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. AC_PREREQ(2.57) -AC_INIT([geeqie], m4_esyscmd_s(git rev-parse --quiet --verify --short master), [geeqie-devel@lists.sourceforge.net], [], [http://www.geeqie.org/]) +AC_INIT([geeqie], m4_esyscmd_s(git rev-parse --quiet --verify --short HEAD), [geeqie-devel@lists.sourceforge.net], [], [http://www.geeqie.org/]) # Add -Werror to the default CFLAGS CFLAGS+=" -Werror -Wno-error=deprecated-declarations" @@ -132,6 +132,7 @@ fi AC_ISC_POSIX AC_PROG_CC +AC_PROG_CC_C99 AC_PROG_CXX AC_STDC_HEADERS AC_ARG_PROGRAM