diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-11 18:03:12 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-11 18:03:12 +0000 |
commit | f6c4026f85fa6ded33a51ec2757abda9f116fd5f (patch) | |
tree | 469d8fbf29de8eb8ce80dfefaaec092c11f737e4 /autogen.sh | |
parent | d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e (diff) | |
download | libguestfs-f6c4026f85fa6ded33a51ec2757abda9f116fd5f.tar.gz libguestfs-f6c4026f85fa6ded33a51ec2757abda9f116fd5f.tar.xz libguestfs-f6c4026f85fa6ded33a51ec2757abda9f116fd5f.zip |
build: xml-light is no longer required (thanks Maxim Koltsov).
At some point we removed the last thing that required
xml-light, but were still testing for it at various places
in the build. This removes all traces.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -42,32 +42,6 @@ if [ ! -z "$BUILDDIR" ]; then CONFIGUREDIR=.. fi -# Ensure that an ocaml package is present for build-from sources. -# This is *not* for anything that is required at configure-time -# when configure is run from a distribution tarball. From those, -# nothing ocaml-related is required. -# ocamlfind cannot detect the presence of -devel packages directly, -# so if $pkg ends in -devel, first check for the base package, and -# if that's found, check for the existence of $base.cmxa in the -# resulting directory. -require_ocaml_pkg() -{ - pkg=$1 - case $pkg in - *-devel) - local base=${pkg%%-devel} - local dir=$(ocamlfind query "$base") || return 1 - test -f "$dir/$base.cmxa" || return 1 - ;; - *) ocamlfind query "$pkg" > /dev/null 2>&1 || return 1;; - esac - return 0 -} - -{ require_ocaml_pkg xml-light && require_ocaml_pkg xml-light-devel; } \ - || { echo "you must have ocaml, ocamlfind, ocaml-xml-light" \ - "and ocaml-xml-light-devel" >&2; exit 1; } - # If no arguments were specified and configure has run before, use the previous # arguments if test $# == 0 && test -x ./config.status; then |