Thanks for your bug report! I don't have a Solaris 10 system to test my patch, but I have looked at the generated `configure' file and it seems correct.
Would you mind to try this patch? To get a new `configure' you need to execute `autoreconf'. Cheers, Giuseppe === modified file 'configure.ac' --- configure.ac 2009-09-23 01:43:02 +0000 +++ configure.ac 2010-05-03 18:23:02 +0000 @@ -43,6 +43,8 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) +AC_CONFIG_SRCDIR([src/wget.c]) + dnl dnl Automake setup dnl "Douglas E. Engert" <[email protected]> writes: > wget-1.12 configure on Solaris 10 would fail trying to look > at .. for a number of files. The problem appears to be caused > by configure does not define $ac_unique_file, and the test > at line 1659 fails and sets scrdir=.. > > 1658 srcdir=$ac_confdir > 1659 if test ! -r "$srcdir/$ac_unique_file"; then > 1660 srcdir=.. > 1661 fi > > Circumvention: > > export ac_unique_file=src/wget.h > ./configure
