mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
Use automake no-define option rather than config.h.in mangling to inhibit
VERSION definition. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4598 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
de4c2af324
commit
2ea061e97a
1 changed files with 1 additions and 7 deletions
|
|
@ -2,14 +2,8 @@ AC_INIT(irssi, 0.8.12-svn)
|
|||
AC_CONFIG_SRCDIR([src])
|
||||
AC_PREREQ(2.50)
|
||||
|
||||
# we don't want VERSION in our config.h
|
||||
if grep '^#undef VERSION' $srcdir/config.h.in >/dev/null; then
|
||||
grep -v '^#undef VERSION' $srcdir/config.h.in > config.h.in.temp
|
||||
mv -f config.h.in.temp $srcdir/config.h.in
|
||||
fi
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_INIT_AUTOMAKE([1.9])
|
||||
AM_INIT_AUTOMAKE([1.9 no-define])
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue