>> what happens if you configure it with the option
>> --x-includes=/usr/local/include ?

On SGI IRIX 6.5, in a clean directory, I unbundled wget-1.8.1.tar.gz,
and did this:

        % env CC=c89 ./configure --x-includes=/usr/local/include

        % grep HAVE_NLS src/config.h
        #define HAVE_NLS 1

        % grep HAVE_LIBINTL_H src/config.h
        /* #undef HAVE_LIBINTL_H */

        % make all check
        ...
        c89 -I. -I. -I/opt/include   -DHAVE_CONFIG_H
        -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
        -DLOCALEDIR=\"/usr/local/share/locale\" -O -c connect.c
        cc-1164 c89: ERROR File = connect.c, Line = 94
          Argument of type "int" is incompatible with parameter of type "const char
        *".

                logprintf (LOG_VERBOSE, _("Connecting to %s[%s]:%hu... "),
                                        ^

        cc-1164 c89: ERROR File = connect.c, Line = 97
          Argument of type "int" is incompatible with parameter of type "const char
        *".

                logprintf (LOG_VERBOSE, _("Connecting to %s:%hu... "),
                                        ^

        cc-1164 c89: ERROR File = connect.c, Line = 131
          Argument of type "int" is incompatible with parameter of type "const char
        *".

                logprintf (LOG_VERBOSE, _("connected.\n"));
                                        ^

        3 errors detected in the compilation of "connect.c".

Notice that the --x-includes setting did not propagate into the
top-level Makefile, or into src/Makefile.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: [EMAIL PROTECTED]  -
- Department of Mathematics, 110 LCB        [EMAIL PROTECTED]  [EMAIL PROTECTED] -
- 155 S 1400 E RM 233                       [EMAIL PROTECTED]                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------

Reply via email to