GNOME Bugzilla – Bug 765353
unzip program can't be configured
Last modified: 2016-04-24 11:04:29 UTC
configure.ac contains: # uses the UNZIP env var and interprets it as its options. AC_ARG_VAR([PROG_UNZIP],[the unzip programme]) I assume the intention here is to let the user specify the unzip program path. The next line though contains AC_PATH_PROG([PROG_UNZIP],[unzip],[false]) This means, PROG_UNZIP will be overridden with /usr/bin/unzip (or wherever unzip is found). In Debian the unicode files are bzip2, so I tried to use "PROG_UNZIP=bunzip2 ./configure", but this didsn't work as AC_PATH_PROG did overwrite this. (the same problem applies to WGET and SHA512SUM)
config.log contains: $ ./configure PROG_UNZIP=bunzip2 ... ac_cv_env_PROG_UNZIP_set=set ac_cv_env_PROG_UNZIP_value=bunzip2 ... ac_cv_path_PROG_UNZIP=/usr/bin/unzip ... PROG_UNZIP='/usr/bin/unzip'
May I suggest something like that: diff --git a/configure.ac b/configure.ac index 4ca2acf..45b17b4 100644 --- a/configure.ac +++ b/configure.ac @@ -188,7 +188,7 @@ AC_SUBST([unicodedatadir]) # Note! Not using UNZIP as variable name here since unzip itself # uses the UNZIP env var and interprets it as its options. AC_ARG_VAR([PROG_UNZIP],[the unzip programme]) -AC_PATH_PROG([PROG_UNZIP],[unzip],[false]) +AC_PATH_PROGS([PROG_UNZIP],[$PROG_UNZIP unzip],[false])
Fixed on master. I'd love to have this work out-of-the-box on debian; any chance you could upstream an improved debian patch by making it work with debian as well as upstream unicode data? :-)