source: trunk/third/glib2/configure.athena @ 20792

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 *
Line 
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.
7case $ATHENA_HOSTTYPE in
8sun4)
9  opts="--with-libiconv=gnu"
10  ;;
11*)
12  opts=
13  ;;
14esac
15
16exec ./configure $opts "$@"
Note: See TracBrowser for help on using the repository browser.