projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix various order for various linking steps. Add Tcl libs.
[idzebra-moved-to-github.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
b43eaba
..
c18e443
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,9
+1,8
@@
dnl Zebra, Index Data Aps, 1995-2004
dnl Zebra, Index Data Aps, 1995-2004
-dnl $Id: configure.in,v 1.95 2004-08-25 09:23:35 adam Exp $
+dnl $Id: configure.in,v 1.97 2004-08-30 21:35:27 adam Exp $
dnl
AC_INIT(include/idzebra/version.h)
AM_INIT_AUTOMAKE(idzebra,1.4.0)
dnl
AC_INIT(include/idzebra/version.h)
AM_INIT_AUTOMAKE(idzebra,1.4.0)
-AM_PROG_LIBTOOL
dnl ------ Substitutions
AC_SUBST(TCL_INCLUDE)
AC_SUBST(TCL_LIB)
dnl ------ Substitutions
AC_SUBST(TCL_INCLUDE)
AC_SUBST(TCL_LIB)
@@
-19,8
+18,8
@@
dnl
dnl ------ Checking programs
AC_PROG_CC
AC_PROG_CPP
dnl ------ Checking programs
AC_PROG_CC
AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_RANLIB
+AM_DISABLE_SHARED
+AM_PROG_LIBTOOL
dnl
dnl ----- DOCBOOK DTD
AC_SUBST(DTD_DIR)
dnl
dnl ----- DOCBOOK DTD
AC_SUBST(DTD_DIR)
@@
-362,6
+361,10
@@
AC_STDC_HEADERS
if test "$ac_cv_header_stdc" = "no"; then
AC_MSG_WARN(Your system doesn't seem to support ANSI C)
fi
if test "$ac_cv_header_stdc" = "no"; then
AC_MSG_WARN(Your system doesn't seem to support ANSI C)
fi
+AC_SUBST(IDZEBRA_SRC_ROOT)
+AC_SUBST(IDZEBRA_BUILD_ROOT)
+IDZEBRA_SRC_ROOT=`cd ${srcdir}; pwd`
+IDZEBRA_BUILD_ROOT=`pwd`
dnl ------ Create Makefiles
AC_OUTPUT([
Makefile
dnl ------ Create Makefiles
AC_OUTPUT([
Makefile
@@
-393,7
+396,8
@@
AC_OUTPUT([
test/marcxml/Makefile test/charmap/Makefile test/codec/Makefile
examples/Makefile examples/gils/Makefile examples/zthes/Makefile
idzebra.spec
test/marcxml/Makefile test/charmap/Makefile test/codec/Makefile
examples/Makefile examples/gils/Makefile examples/zthes/Makefile
idzebra.spec
-])
+ idzebra-config
+],[sed s%idzebra_echo_source=yes%idzebra_echo_source=no%g < idzebra-config > util/idzebra-config && chmod +x idzebra-config util/idzebra-config])
if test -x "$perlbin"; then
res=`cd perl ; $perlbin Makefile.PL ; cd .. ;`;
fi
if test -x "$perlbin"; then
res=`cd perl ; $perlbin Makefile.PL ; cd .. ;`;
fi