_LT_AC_SHARED_EXT, patched by `libtool-1.5.2-libtool_m4-shared_ext.patch', is somewhat bogus. The line that reads: if test -z `grep -e 'shared_ext.*shrext' $ofile`; then Will fail if there is more than one shared_ext.*shrext match in libtool. This occurs when (e.g.) using `AM_PROG_GCJ' to compile Java packages. Reproducible: Always Steps to Reproduce: 1. aclocal, libtoolize, automake, autoconf a Java package (like GNU Crypto). 2. ./configure 3. Actual Results: Configure outputs: appending configuration tag "GCJ" to libtool ... ./configure: line 19231: test: too many arguments Expected Results: Normal configure.
ah ive seen this a lot ... the clean solution is tto just put "" arrround the grep right ?
that fixed it on my machine, thanks