diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-09 13:59:04 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-09 13:59:04 +0000 |
commit | f41604493664f96ef07e7f74934c73736b3942a6 (patch) | |
tree | 47f73d8e60f956aec1d1190ae1ca71d857ab51a7 /configure | |
parent | fix to prevent rcsid expansion (diff) | |
download | w3m-f41604493664f96ef07e7f74934c73736b3942a6.tar.gz w3m-f41604493664f96ef07e7f74934c73736b3942a6.zip |
[w3m-dev 02646]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rwxr-xr-x | configure | 28 |
1 files changed, 15 insertions, 13 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.34 2001/12/08 11:24:41 ukai Exp $ +# $Id: configure,v 1.35 2001/12/09 13:59:04 ukai Exp $ # Configuration. # @@ -967,18 +967,20 @@ done case $sysname in linux|Linux|LINUX|aix|Aix|AIX) - case $cflags in - *DEBIAN*) - # on Debian, we can use libgc*.deb - :;; - *) - # these OS requires gcmain.c, which include gc/gc_priv.h - # therefore we use gc library comes with w3m - echo "Your OS is $sysname; using gc library comes with w3m." - gcinclude="" - gclib="" - ;; - esac + if [ ! -f "$gcinclude/private/gc_priv.h" ]; then + case $cflags in + *DEBIAN*) + # on Debian, we can use libgc*.deb + :;; + *) + # these OS requires gcmain.c, which include gc/gc_priv.h + # therefore we use gc library comes with w3m + echo "Your OS is $sysname; using gc library comes with w3m." + gcinclude="" + gclib="" + ;; + esac + fi ;; esac |