X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=configure.in;h=a97feaef3e4aafe8f69f0a15d22a2f8bc530256e;hp=7b842ce1a93b1e9400f557e9a35c8f2b11709dad;hb=b6c671fd90134d458ad4722ec3a99742bced1a34;hpb=d9cedcfbd2194ff9046d71400cb7878085c26499;ds=sidebyside diff --git a/configure.in b/configure.in index 7b842ce..a97feae 100644 --- a/configure.in +++ b/configure.in @@ -42,6 +42,8 @@ AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL +CFLAGS="$CFLAGS -D_GNU_SOURCE" + AC_CACHE_CHECK(for EPROTO,userv_cv_hdr_eproto, AC_EGREP_CPP(yes, [ @@ -145,7 +147,7 @@ fi [CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"] AC_SUBST(VERSION) -VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' Changelog`" +VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' debian/changelog`" echo will build version $VERSION AC_OUTPUT(Makefile)