Re: [Autogen-users] Fwd: shipping the auto-generated files
Brought to you by:
bkorb
From: Nikos M. <nm...@gn...> - 2013-11-09 08:37:01
|
On Fri, 2013-11-08 at 08:28 -0800, Bruce Korb wrote: > Hmmm. OK. I'll pull your sources and if you'd send me your > fiddlings (patch), I'll look into what makes sense. I'll try > to do something reasonable with your code, but fix my own and > re-release if necessary. I have not done something special and I don't think what I have can be easily generalized. What I've done (see also [0]) is: ========================code=========================== AC_CHECK_PROG([AUTOGEN], [autogen], [autogen], [/bin/true]) if test x"$AUTOGEN" = "x/bin/true"; then AC_MSG_WARN([[ *** *** autogen not found. Will not link against libopts. *** ]]) NEED_LIBOPTS_DIR=true fi LIBOPTS_CHECK([libopts]) if [ test "$NEED_LIBOPTS_DIR" != "true" ];then dnl delete libopts-generated files (to force regeneration) rm -f ${srcdir}/src/ocserv-args.c ${srcdir}/src/ocserv-args.h rm -f ${srcdir}/src/ocpasswd-args.c ${srcdir}/src/ocpasswd-args.h fi ========================code=========================== regards, Nikos [0]. http://git.infradead.org/ocserv.git/tree |