+2009-06-27 guidod <guidod@gmx.de>
+
+ * configure.ac: disable search for python2.2 (gentoo bug 275247+174189)
+
2009-06-22 guidod <guidod@gmx.de>
* zziplib.spec: 0.13.55 and integrate patches for build.opensuse.org
* zzip/zip.c (__zzip_parse_root_directory): rework parse_directory
#! /bin/sh
-# From configure.ac Revision: 1.12 .
+# From configure.ac Revision: 1.13 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63.
#
done
test -n "$PERL" || PERL="echo no perl found for"
-for ac_prog in python2.2 python2.3 python
+for ac_prog in python
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
RESOLVES=' '
;;
*)
- ZZIPLIB_LDFLAGS="--export-dynamic"
+
+ if ".$can_build_shared" = .no
+ then ZZIPLIB_LDFLAGS=""
+ else ZZIPLIB_LDFLAGS="--export-dynamic"
+ fi
RESOLVES=' # '
;;
esac
AC_INIT([zziplib.spec])
AC_PREREQ(2.49)
AC_COPYRIGHT([Guido Draheim <guido@gmx.de> for ZZipLib.SF.net])
-AC_REVISION($Revision: 1.13 $)
+AC_REVISION($Revision: 1.14 $)
AC_CONFIG_AUX_DIR([uses])
AC_CONFIG_MACRO_DIR([m4])
# =======================================================================
AX_PAX_TAR_CREATE
AX_PAX_TAR_EXTRACT
AC_PATH_PROGS(PERL, perl5 perl, echo no perl found for)
-AC_PATH_PROGS(PYTHON, python2.2 python2.3 python, echo no python found for)
+AC_PATH_PROGS(PYTHON, python, echo no python found for)
AC_PATH_PROGS(MKZIP, zip pkzip, :)
AC_PATH_PROGS(XMLTO, xmlto, :)
; $(XMLTO) -o man3 man zzipmmapped.xml \
; echo '$(XMLTO) -o man3 man zzipfseeko.xml' \
; $(XMLTO) -o man3 man zzipfseeko.xml \
+ ; if test -d man3/man3; then mv man3 man3_ \
+ ; mv man3_/man3 man3; rm -r man3_; fi \
; echo 'chmod 664 man3/*.3' \
; chmod 664 man3/*.3 \
- ; echo '$(PAX_TAR_CREATE) "$@" man3/*.3' \
- ; $(PAX_TAR_CREATE) "$@" man3/*.3 \
+ ; echo '$(PAX_TAR_CREATE) "$@" man3/' \
+ ; $(PAX_TAR_CREATE) "$@" man3/ \
; echo '$(DELETE); rm man3/*.3 ; rmdir man3' \
; $(DELETE); rm man3/*.3 ; rmdir man3 \
; fi ; true
install-man3 : manpages.tar
$(mkinstalldirs) $(DESTDIR)$(mandir)/man3
P=`pwd` ; test -s manpages.tar || exit 1 \
- ; cd $(DESTDIR)$(mandir)/man3 && $(PAX_TAR_EXTRACT) $$P/manpages.tar \
+ ; cd $(DESTDIR)$(mandir) && $(PAX_TAR_EXTRACT) $$P/manpages.tar \
; true
unpack : manpages.tar htmpages.tar