AC_CHECK_HEADERS([sys/time.h sys/socket.h unistd.h netinet/in.h netdb.h arpa/inet.h])
AC_CHECK_FUNCS([getaddrinfo])
+
+if test -d ${srcdir}/.git; then
+ sha=`git show --pretty=format:%H|head -1`
+else
+ sha=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'`
+fi
+AC_DEFINE_UNQUOTED([PAZPAR2_VERSION_SHA1], ["$sha"], [Git SHA1])
+
AC_CONFIG_FILES([
Doxyfile
Makefile
doc/local.ent
doc/common/Makefile
doc/common/print.dsl
-
+ win/version.nsi
])
AC_OUTPUT
YAZ Include: ${YAZINC}
YAZ La Lib: ${YAZLALIB}
YAZ Lib: ${YAZLIB}
- ICU Version: ${ICU_VERSION}
- ICU Include: ${ICU_CPPFLAGS}
- ICU Lib: ${ICU_LIBS}
Bugreport: ${PACKAGE_BUGREPORT}
------------------------------------------------------------------------"