Revision 20792,
407 bytes
checked in by ghudson, 20 years ago
(diff) |
On Solaris, explicitly build with GNU libiconv; otherwise configure
prefers the libc iconv, but having /usr/athena/include in the include
path causes the libiconv header to be used, yielding a compile error.
(In past versions of glib, we've done this with a configure.in hack,
but now we don't need one.)
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[20792] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | # Explicitly link against libiconv on Solaris. The default is to prefer |
---|
| 4 | # the libc iconv, which causes a compilation failure because we put |
---|
| 5 | # /usr/athena/include in the include path, causing the libiconv header |
---|
| 6 | # to be used even though configure thinks it's using the libc iconv. |
---|
| 7 | case $ATHENA_HOSTTYPE in |
---|
| 8 | sun4) |
---|
| 9 | opts="--with-libiconv=gnu" |
---|
| 10 | ;; |
---|
| 11 | *) |
---|
| 12 | opts= |
---|
| 13 | ;; |
---|
| 14 | esac |
---|
| 15 | |
---|
| 16 | exec ./configure $opts "$@" |
---|
Note: See
TracBrowser
for help on using the repository browser.