Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

24
macros/check_version.m4 Normal file
View File

@@ -0,0 +1,24 @@
dnl AC_CHECK_VERSION(UPPER, lower, pretty, version)
dnl Copyright (c) David Walluck 1999-2000
dnl All rights reserved.
dnl Parts of this taken from mc configure script.
dnl Released under the GPLv2.
AC_DEFUN(AC_CHECK_VERSION,
[ AC_CACHE_CHECK(for $3 version, ac_cv_$3_version,
[ $1_version="unknown"
cat > conftest.$ac_ext <<EOF
[#]line __oline__ "configure"
#include "confdefs.h"
#include <$2.h>
#undef VERSION
VERSION:$1_VERSION
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD([]) | egrep "VERSION:" >conftest.out 2>&1; then
changequote(,)dnl
$2_version="`cat conftest.out | sed -e 's/^[^"]*"//' -e 's/".*//'`"
changequote([,])dnl
fi
rm -rf conftest*
ac_cv_$3_version="$$2_version"
])])