[h323plus] aclocal path.
Francisco Olarte (M)
folarte at peoplecall.com
Wed Aug 11 10:24:44 EDT 2010
I've made a little patch to plugins/configure from CVS:
folarte at gkaps ~/tmp $ diff -u h323plus/plugins{/copia,}/configure
--- h323plus/plugins/copia/configure 2010-05-23 19:38:35.000000000 +0200
+++ h323plus/plugins/configure 2010-08-11 16:14:19.757637819 +0200
@@ -1929,8 +1929,18 @@
if test \! -e ./aclocal.m4 ; then
- echo "ERROR: you must first run 'aclocal' in $PWD"
- exit
+ echo "aclocal.m4 not found in $PWD, running aclocal to make it."
+ if aclocal ; then
+ if test -e ./aclocal.m4 ; then
+ echo "aclocal.m4 generated."
+ else
+ echo "aclocal ran in $PWD but failed to generate aclocal.m4"
+ exit
+ fi
+ else
+ echo "ERROR running 'aclocal' in $PWD"
+ exit
+ fi
fi
This works ok for me, with or without configure.h ( although haven't
manage to make aclocal fail ). Now configure does
the right thing for me:
=== configuring in plugins (/home/folarte/tmp/h323plus/plugins)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
aclocal.m4 not found in /home/folarte/tmp/h323plus/plugins, running
aclocal to make it.
aclocal.m4 generated.
checking for pkg-config... /usr/bin/pkg-config
I tried to make it in configure.ac
folarte at gkaps ~/tmp $ diff -u h323plus/plugins{/copia,}/configure.ac
--- h323plus/plugins/copia/configure.ac 2010-05-24 00:28:58.000000000 +0200
+++ h323plus/plugins/configure.ac 2010-08-11 16:06:25.521660555 +0200
@@ -1,8 +1,18 @@
AC_INIT(configure.ac)
if test \! -e ./aclocal.m4 ; then
- echo "ERROR: you must first run 'aclocal' in $PWD"
- exit
+ echo "aclocal.m4 not found in $PWD, running aclocal to make it."
+ if aclocal ; then
+ if test -e ./aclocal.m4 ; then
+ echo "aclocal.m4 generated."
+ else
+ echo "aclocal ran in $PWD but failed to generate aclocal.m4"
+ exit
+ fi
+ else
+ echo "ERROR running 'aclocal' in $PWD"
+ exit
+ fi
fi
PKG_PROG_PKG_CONFIG()
But then If I run autoconf I get a vastly different configure
folarte at gkaps ~/tmp/h323plus/plugins $ diff configure copia | wc
15890 73638 517210
Maybe because my autoconf is different?
folarte at gkaps ~/tmp/h323plus/plugins $ head configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
#
#
folarte at gkaps ~/tmp/h323plus/plugins $ head copia/configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization. ##
These are my versions.
folarte at gkaps ~/tmp/h323plus/plugins $ autoconf --version
autoconf (GNU Autoconf) 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
folarte at gkaps ~/tmp/h323plus/plugins $ aclocal --version
aclocal (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey at redhat.com>
and Alexandre Duret-Lutz <adl at gnu.org>.
Hope this helps.
Regards
Francisco Olarte.
More information about the h323plus
mailing list