[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch] libquran/README + autoconf problems



Salam all.

I am trying to compile libquran from CVS, but I am facing problems with
autoconf:

~/arabeyes/quran/libquran% autoconf
configure.in:4: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure.in:5: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:10: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:11: error: possibly undefined macro: AC_PROG_LIBTOOL
zsh: exit 1     autoconf

The solution may be the following bootstrap script (in attachment too):

#!/bin/sh
find . \( -name autom4te.cache -o -name libtool \) -exec rm -r {} \;
aclocal
libtoolize --force --copy
autoheader
automake --add-missing --copy
autoconf

I also read README, and found it a bit outdate. Here is a tiny patch
that should fix it.

Regards,

-- 
adn
Mohammed Adnčne Trojette
"Le respect est le lien de l'amitié."
              Proverbe oriental
#!/bin/sh

find . \( -name autom4te.cache -o -name libtool \) -exec rm -r {} \;
aclocal
libtoolize --force --copy
autoheader
automake --add-missing --copy
autoconf 
Index: README
===================================================================
RCS file: /home/arabeyes/cvs/projects/quran/libquran/README,v
retrieving revision 1.6
diff -u -r1.6 README
--- README	8 Jul 2003 03:59:36 -0000	1.6
+++ README	25 May 2005 10:04:42 -0000
@@ -8,6 +8,6 @@
 * libspeex-1.0beta3
 
 Data files (texts, audio, tafsirs) are distributed separately.
-See http://www.arabeyes.org/projects/quran
+See http://www.arabeyes.org/project.php?proj=Quran
 
-(c) 2002,2003 Arabeyes.org
+(c) 2002, 2003, 2004, 2005 Arabeyes.org