[omniORB-dev] autoreconf patch

Mika Laitio lamikr at pilppa.org
Mon Oct 11 23:55:56 BST 2010


Hi

I checked out the 4.1 svn branch in order to test crosscompilation for 
mips with openwrt toolchain.

Therefore I wanted to reconfigure everything by running these 3 commands 
from the openwrt makefile. (still working on for creating it)

 	libtoolize --automake --force --copy
 	autoreconf --force --install
 	./configure --prefix=/usr/local

autoreconf command will however give a following error:

configure:4489: error: possibly undefined macro: PKG_CONFIG_LIBDIR
       If this token and others are legitimate, please use 
m4_pattern_allow.
       See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Attached patch fixes it, would it be possible to apply it?
Note, I noticed a similar type of patch has also been added to 
openembedded by somebody.

Mika


-------------- next part --------------
diff -Naur omniorb_41_branch_orig/configure.ac omniorb_41_branch/configure.ac
--- omniorb_41_branch_orig/configure.ac	2010-10-11 22:17:59.552521620 +0300
+++ omniorb_41_branch/configure.ac	2010-10-11 22:18:15.304538752 +0300
@@ -10,6 +10,8 @@
 
 AC_CONFIG_HEADERS(include/omniORB4/acconfig.h)
 
+dnl to prevent error from autoreconf while crosscompiling
+m4_pattern_allow(PKG_CONFIG_LIBDIR)
 
 dnl ** CFLAGS / CXXFLAGS
 


More information about the omniORB-dev mailing list