From c406b6bbd53d2dc942cbf3fda12da0abe8c690e1 Mon Sep 17 00:00:00 2001 From: Olivier Sirol Date: Thu, 26 Aug 1999 18:47:42 +0000 Subject: [PATCH] Fichiers de config modifies... --- alliance/share/etc/Linux_aout.mk | 70 -- alliance/share/etc/Linux_elf.mk | 54 -- alliance/share/etc/Linux_elf.mk.in | 74 -- alliance/share/etc/Solaris.mk | 54 -- alliance/share/etc/SunOS.mk | 54 -- alliance/share/etc/SunOS.mk.in | 74 -- alliance/share/etc/alc_env.csh | 69 +- alliance/share/etc/alc_env.csh.in | 63 +- alliance/share/etc/alc_env.sh | 69 +- alliance/share/etc/alc_env.sh.in | 65 +- .../etc/{Solaris.mk.in => alliance_os.mk.in} | 22 +- alliance/share/etc/config.log | 172 ++--- alliance/share/etc/config.status | 98 +-- alliance/share/etc/configure | 717 ++++++++++++------ alliance/share/etc/configure.in | 49 +- alliance/share/etc/machine.mk.in | 74 -- 16 files changed, 773 insertions(+), 1005 deletions(-) delete mode 100644 alliance/share/etc/Linux_aout.mk delete mode 100644 alliance/share/etc/Linux_elf.mk delete mode 100644 alliance/share/etc/Linux_elf.mk.in delete mode 100644 alliance/share/etc/Solaris.mk delete mode 100644 alliance/share/etc/SunOS.mk delete mode 100644 alliance/share/etc/SunOS.mk.in rename alliance/share/etc/{Solaris.mk.in => alliance_os.mk.in} (65%) delete mode 100644 alliance/share/etc/machine.mk.in diff --git a/alliance/share/etc/Linux_aout.mk b/alliance/share/etc/Linux_aout.mk deleted file mode 100644 index 71db6c78..00000000 --- a/alliance/share/etc/Linux_aout.mk +++ /dev/null @@ -1,70 +0,0 @@ - -# ###---------------------------------------------------------### -# file : Linux_aout.mk # -# date : Jun 19 1997 # -# description : Alliance include file for Makefiles # -# ###---------------------------------------------------------### - -# ###---------------------------------------------------------### -# architecture : 386 PC (Linux 0.99.14) # -# ###---------------------------------------------------------### - -ALLIANCE_VERSION = '"3.2b"' -ALLIANCE_BIN = $(TOP)/bin -ALLIANCE_LIB = $(TOP)/lib -ALLIANCE_INCLUDE = $(TOP)/include -ALLIANCE_CELLS = $(TOP)/cells -ALLIANCE_ETC = $(TOP)/etc - -# distrib path -#TARGET_BIN = $(TOP)/bin -#TARGET_LIB = $(TOP)/lib -#TARGET_INCLUDE = $(TOP)/include - -# develloppers path -TARGET_BIN = $(HOME)/labo/$(MACHINE)/bin -TARGET_LIB = $(HOME)/labo/$(MACHINE)/lib -TARGET_INCLUDE = $(HOME)/labo/$(MACHINE)/include - -X11_BIN = /usr/bin/X11 -X11_LIB = /usr/lib/X11 -X11_INCLUDE = /usr/include/X11 - -MOTIF_BIN = /usr/bin/X11 -MOTIF_LIB = /usr/lib/X11 -MOTIF_INCLUDE = /usr/include/X11 - -SHELL = /bin/sh -CSH = /bin/csh -CP = /bin/cp -MV = /bin/mv -RM = /bin/rm -MKDIR = /bin/mkdir -FIND = /usr/bin/find -SED = /usr/bin/sed -AWK = /usr/bin/awk -TR = /usr/bin/tr -TOUCH = /bin/touch -STRIP = /usr/bin/strip -RANLIB = /usr/bin/ranlib - -MAKE = /usr/bin/make -MAKEFLAGS = - -CC = /usr/bin/gcc -CFLAGS = -static -CPPFLAGS = -#CFLAGS = -static -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = /usr/bin/bison -YACCFLAGS = -y - -LEX = /usr/bin/flex -LEXFLAGS = - -AR = /usr/bin/ar -ARFLAGS = -rv - -LINT = -LINTFLAGS = diff --git a/alliance/share/etc/Linux_elf.mk b/alliance/share/etc/Linux_elf.mk deleted file mode 100644 index ba9835b7..00000000 --- a/alliance/share/etc/Linux_elf.mk +++ /dev/null @@ -1,54 +0,0 @@ -# -*- Mode: Makefile -*- -# -####---------------------------------------------------------### -# description : Alliance include file for Makefiles -# architecture : Linux bechet 2.0.33 #2 Sun Mar 15 03:57:50 MET 1998 i586 unknown -# date : Mon Sep 28 13:20:39 MET DST 1998 -# file : Linux_elf.mk -# - -GNU_LIB = /asim/gnu/lib -GNU_INCLUDE = /asim/gnu/include - - -X11_LIB = . -L/usr/X11R6/lib -lSM -lICE -lXintl -X11_INCLUDE = . -I/usr/X11R6/include - -#You may need -lXintl -MOTIF_LIB = /usr/X11R6/lib -MOTIF_INCLUDE = /usr/include/X11 - -SHELL = /asim/gnu/bin/sh -CSH = /bin/csh -CP = /asim/gnu/bin/cp -MV = /asim/gnu/bin/mv -RM = /asim/gnu/bin/rm -MKDIR = /asim/gnu/bin/mkdir -FIND = /asim/gnu/bin/find -SED = /asim/gnu/bin/sed -AWK = /asim/gnu/bin/gawk -TR = /asim/gnu/bin/tr -TOUCH = /asim/gnu/bin/touch -STRIP = /asim/gnu/bin/strip -RANLIB = /asim/gnu/bin/ranlib - -MAKE = /asim/gnu/bin/gmake -MAKEFLAGS = - -CC = /asim/gnu/bin/gcc -CFLAGS = -O4 -Wall -CPPFLAGS = - -#CFLAGS = -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = /asim/gnu/bin/bison -YACCFLAGS = -y - -LEX = /asim/gnu/bin/flex -LEXFLAGS = - -AR = /asim/gnu/bin/ar -ARFLAGS = rv - -# EOF diff --git a/alliance/share/etc/Linux_elf.mk.in b/alliance/share/etc/Linux_elf.mk.in deleted file mode 100644 index d9eb5c38..00000000 --- a/alliance/share/etc/Linux_elf.mk.in +++ /dev/null @@ -1,74 +0,0 @@ -# -*- Mode: Makefile -*- -# -####---------------------------------------------------------### -# description : Alliance include file for Makefiles -# architecture : @HOST@ -# date : @DATE@ -# file : @MACHINE@.mk -# - -# The variables $TOP and $MACHINE are set by -# alc_env.[c]sh script - -ALLIANCE_VERSION = '"@ALLIANCE_VERSION@"' -ALLIANCE_BIN = $(TOP)/bin -ALLIANCE_LIB = $(TOP)/lib -ALLIANCE_INCLUDE = $(TOP)/include -ALLIANCE_CELLS = $(TOP)/cells -ALLIANCE_ETC = $(TOP)/etc - -# distrib path -TARGET_BIN = $(TOP)/bin -TARGET_LIB = $(TOP)/lib -TARGET_INCLUDE = $(TOP)/include - -# develloppers path -#TARGET_BIN = $(HOME)/labo/$(MACHINE)/bin -#TARGET_LIB = $(HOME)/labo/$(MACHINE)/lib -#TARGET_INCLUDE = $(HOME)/labo/$(MACHINE)/include - -GNU_LIB = @GNU_LIB_LOC@ -GNU_INCLUDE = @GNU_INC_LOC@ - - -X11_LIB = . @X_LIBS@ @X_EXTRA_LIBS@ @X_PRE_LIBS@ -X11_INCLUDE = . @X_CFLAGS@ - -#You may need -lXintl -MOTIF_LIB = @GUI_LIB_LOC@ -MOTIF_INCLUDE = @GUI_INC_LOC@ - -SHELL = @SHELL@ -CSH = @CSH@ -CP = @CP@ -MV = @MV@ -RM = @RM@ -MKDIR = @MKDIR@ -FIND = @FIND@ -SED = @SED@ -AWK = @AWK@ -TR = @TR@ -TOUCH = @TOUCH@ -STRIP = @STRIP@ -RANLIB = @RANLIB@ - -MAKE = @MAKE@ -MAKEFLAGS = @MAKEFLAGS@ - -CC = @FULL_CC@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ - -#CFLAGS = -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = @FULL_YACC@ -YACCFLAGS = @YACCFLAGS@ - -LEX = @FULL_LEX@ -LEXFLAGS = @LEXFLAGS@ - -AR = @AR@ -ARFLAGS = @ARFLAGS@ - -# EOF diff --git a/alliance/share/etc/Solaris.mk b/alliance/share/etc/Solaris.mk deleted file mode 100644 index 9101fd83..00000000 --- a/alliance/share/etc/Solaris.mk +++ /dev/null @@ -1,54 +0,0 @@ -# -*- Mode: Makefile -*- -# -####---------------------------------------------------------### -# description : Alliance include file for Makefiles -# architecture : SunOS opera 5.5.1 Generic sun4u sparc -# date : Fri Sep 25 00:53:59 MET DST 1998 -# file : Solaris.mk -# - -GNU_LIB = /asim/gnu/lib -GNU_INCLUDE = /asim/gnu/include - - -X11_LIB = . -L/labo/X11R6/lib -R/labo/X11R6/lib -lsocket -lnsl -lSM -lICE -X11_INCLUDE = . -I/labo/X11R6/include - -#You may need -lXintl -MOTIF_LIB = /usr/dt/lib -R /usr/dt/lib -MOTIF_INCLUDE = /usr/dt/include - -SHELL = /asim/gnu/bin/sh -CSH = /bin/csh -CP = /asim/gnu/bin/cp -MV = /asim/gnu/bin/mv -RM = /asim/gnu/bin/rm -MKDIR = /asim/gnu/bin/mkdir -FIND = /asim/gnu/bin/find -SED = /asim/gnu/bin/sed -AWK = /asim/gnu/bin/gawk -TR = /asim/gnu/bin/tr -TOUCH = /asim/gnu/bin/touch -STRIP = /asim/gnu/bin/strip -RANLIB = /asim/gnu/bin/ranlib - -MAKE = /asim/gnu/bin/gmake -MAKEFLAGS = - -CC = /asim/gnu/bin/gcc -CFLAGS = -O4 -Wall -CPPFLAGS = - -#CFLAGS = -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = /asim/gnu/bin/bison -YACCFLAGS = -y - -LEX = /asim/gnu/bin/flex -LEXFLAGS = - -AR = /asim/gnu/bin/ar -ARFLAGS = rv - -# EOF diff --git a/alliance/share/etc/SunOS.mk b/alliance/share/etc/SunOS.mk deleted file mode 100644 index 63704b7f..00000000 --- a/alliance/share/etc/SunOS.mk +++ /dev/null @@ -1,54 +0,0 @@ -# -*- Mode: Makefile -*- -# -####---------------------------------------------------------### -# description : Alliance include file for Makefiles -# architecture : SunOS heavy 4.1.3_U1 1 sun4m unknown -# date : Tue Jun 30 00:58:53 MET DST 1998 -# file : SunOS.mk -# - -GNU_LIB = /asim/gnu/lib -GNU_INCLUDE = /asim/gnu/include - - -X11_LIB = . -L/usr/X11R6.3/lib -lSM -lICE -X11_INCLUDE = . -I/usr/X11R6.3/include - -#You may need -lXintl -MOTIF_LIB = /usr/lib/X11 -MOTIF_INCLUDE = /usr/include/X11 - -SHELL = /asim/gnu/bin/sh -CSH = /bin/csh -CP = /asim/gnu/bin/cp -MV = /asim/gnu/bin/mv -RM = /asim/gnu/bin/rm -MKDIR = /asim/gnu/bin/mkdir -FIND = /asim/gnu/bin/find -SED = /asim/gnu/bin/sed -AWK = /asim/gnu/bin/gawk -TR = /asim/gnu/bin/tr -TOUCH = /asim/gnu/bin/touch -STRIP = /asim/gnu/bin/strip -RANLIB = /asim/gnu/bin/ranlib - -MAKE = /asim/gnu/bin/gmake -MAKEFLAGS = - -CC = /asim/gnu/bin/gcc -CFLAGS = -O4 -Wall -CPPFLAGS = - -#CFLAGS = -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = /asim/gnu/bin/bison -YACCFLAGS = -y - -LEX = /asim/gnu/bin/flex -LEXFLAGS = - -AR = /asim/gnu/bin/ar -ARFLAGS = rv - -# EOF diff --git a/alliance/share/etc/SunOS.mk.in b/alliance/share/etc/SunOS.mk.in deleted file mode 100644 index d9eb5c38..00000000 --- a/alliance/share/etc/SunOS.mk.in +++ /dev/null @@ -1,74 +0,0 @@ -# -*- Mode: Makefile -*- -# -####---------------------------------------------------------### -# description : Alliance include file for Makefiles -# architecture : @HOST@ -# date : @DATE@ -# file : @MACHINE@.mk -# - -# The variables $TOP and $MACHINE are set by -# alc_env.[c]sh script - -ALLIANCE_VERSION = '"@ALLIANCE_VERSION@"' -ALLIANCE_BIN = $(TOP)/bin -ALLIANCE_LIB = $(TOP)/lib -ALLIANCE_INCLUDE = $(TOP)/include -ALLIANCE_CELLS = $(TOP)/cells -ALLIANCE_ETC = $(TOP)/etc - -# distrib path -TARGET_BIN = $(TOP)/bin -TARGET_LIB = $(TOP)/lib -TARGET_INCLUDE = $(TOP)/include - -# develloppers path -#TARGET_BIN = $(HOME)/labo/$(MACHINE)/bin -#TARGET_LIB = $(HOME)/labo/$(MACHINE)/lib -#TARGET_INCLUDE = $(HOME)/labo/$(MACHINE)/include - -GNU_LIB = @GNU_LIB_LOC@ -GNU_INCLUDE = @GNU_INC_LOC@ - - -X11_LIB = . @X_LIBS@ @X_EXTRA_LIBS@ @X_PRE_LIBS@ -X11_INCLUDE = . @X_CFLAGS@ - -#You may need -lXintl -MOTIF_LIB = @GUI_LIB_LOC@ -MOTIF_INCLUDE = @GUI_INC_LOC@ - -SHELL = @SHELL@ -CSH = @CSH@ -CP = @CP@ -MV = @MV@ -RM = @RM@ -MKDIR = @MKDIR@ -FIND = @FIND@ -SED = @SED@ -AWK = @AWK@ -TR = @TR@ -TOUCH = @TOUCH@ -STRIP = @STRIP@ -RANLIB = @RANLIB@ - -MAKE = @MAKE@ -MAKEFLAGS = @MAKEFLAGS@ - -CC = @FULL_CC@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ - -#CFLAGS = -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = @FULL_YACC@ -YACCFLAGS = @YACCFLAGS@ - -LEX = @FULL_LEX@ -LEXFLAGS = @LEXFLAGS@ - -AR = @AR@ -ARFLAGS = @ARFLAGS@ - -# EOF diff --git a/alliance/share/etc/alc_env.csh b/alliance/share/etc/alc_env.csh index d989eee8..ce0def04 100644 --- a/alliance/share/etc/alc_env.csh +++ b/alliance/share/etc/alc_env.csh @@ -6,8 +6,8 @@ # Alliance CAD system environnement # Usage (in C-shell) : > source alc_env.csh # (C) 1997 Czo -- -# $Id: alc_env.csh,v 1.1 1999/05/31 17:30:30 alliance Exp $ -# Generated from alc_env.csh.in on Mon Sep 28 13:20:39 MET DST 1998 +# $Id: alc_env.csh,v 1.2 1999/08/26 18:47:42 czo Exp $ +# Generated from alc_env.csh.in on Thu Aug 26 20:45:26 CEST 1999 # $MACHINE and $TOP are the only variables you will # have to modify if something goes wrong @@ -15,32 +15,32 @@ # Which platform for Alliance CAD switch (`uname`) - case Linux: - if ( `uname -r` =~ 1.* ) then - setenv MACHINE Linux_aout - else - setenv MACHINE Linux_elf - endif - breaksw + case Linux: + if ( `uname -r` =~ 1.* ) then + setenv MACHINE Linux_aout + else + setenv MACHINE Linux_elf + endif + breaksw - case SunOS: - if ( `uname -r` =~ 5* ) then - setenv MACHINE Solaris - else - setenv MACHINE SunOS - endif - breaksw + case SunOS: + if ( `uname -r` =~ 5* ) then + setenv MACHINE Solaris + else + setenv MACHINE SunOS + endif + breaksw - default: - setenv MACHINE Unknown - breaksw + default: + setenv MACHINE Unknown + breaksw endsw setenv ALLIANCE_OS $MACHINE # Where the Alliance CAD is installed -setenv TOP /asim/alliance +setenv TOP /alliance/alliance/archi/$MACHINE setenv ALLIANCE_TOP $TOP # User def @@ -59,10 +59,13 @@ setenv VH_MAXERR 10 setenv VH_BEHSFX vbe setenv VH_PATSFX pat -setenv MBK_CATA_LIB .:$TOP/cells/sclib:$TOP/cells/padlib +setenv MBK_CATA_LIB .:$TOP/cells/sclib setenv MBK_TARGET_LIB $TOP/cells/sclib setenv MBK_C4_LIB ./cellsC4 +setenv MBK_VDD vdd +setenv MBK_VSS vss + setenv XPAT_PARAM_NAME $TOP/etc/xpat.par setenv XFSM_PARAM_NAME $TOP/etc/xfsm.par @@ -78,33 +81,17 @@ setenv ELP_TECHNO_NAME $TOP/etc/prol10.elp # Update PATH and MANPATH if $?PATH then -# setenv PATH $HOME/labo/$MACHINE/bin:$TOP/bin:$PATH - setenv PATH $TOP/bin:$PATH + setenv PATH $TOP/bin:$PATH else -# setenv PATH $HOME/labo/$MACHINE/bin:$TOP/bin - setenv PATH $TOP/bin + setenv PATH $TOP/bin endif if $?MANPATH then - setenv MANPATH $TOP/man:$MANPATH + setenv MANPATH $TOP/man:$MANPATH else - setenv MANPATH $TOP/man + setenv MANPATH $TOP/man endif - -# Show results -if ($?prompt) then -# alias xmbk 'eval `\xmbk -c`' -# cat /users/soft5/newlabo/motd - echo "" - echo "Alliance settings :" - echo "" - echo " ALLIANCE_OS = $MACHINE" - echo " ALLIANCE_TOP = $TOP" - echo "" -endif - - # EOF diff --git a/alliance/share/etc/alc_env.csh.in b/alliance/share/etc/alc_env.csh.in index c2c588ae..d663ddd7 100755 --- a/alliance/share/etc/alc_env.csh.in +++ b/alliance/share/etc/alc_env.csh.in @@ -6,7 +6,7 @@ # Alliance CAD system environnement # Usage (in C-shell) : > source alc_env.csh # (C) 1997 Czo -- -# $Id: alc_env.csh.in,v 1.1 1999/05/31 17:30:30 alliance Exp $ +# $Id: alc_env.csh.in,v 1.2 1999/08/26 18:47:42 czo Exp $ # Generated from alc_env.csh.in on @DATE@ # $MACHINE and $TOP are the only variables you will @@ -15,25 +15,25 @@ # Which platform for Alliance CAD switch (`uname`) - case Linux: - if ( `uname -r` =~ 1.* ) then - setenv MACHINE Linux_aout - else - setenv MACHINE Linux_elf - endif - breaksw + case Linux: + if ( `uname -r` =~ 1.* ) then + setenv MACHINE Linux_aout + else + setenv MACHINE Linux_elf + endif + breaksw - case SunOS: - if ( `uname -r` =~ 5* ) then - setenv MACHINE Solaris - else - setenv MACHINE SunOS - endif - breaksw + case SunOS: + if ( `uname -r` =~ 5* ) then + setenv MACHINE Solaris + else + setenv MACHINE SunOS + endif + breaksw - default: - setenv MACHINE Unknown - breaksw + default: + setenv MACHINE Unknown + breaksw endsw setenv ALLIANCE_OS $MACHINE @@ -63,6 +63,9 @@ setenv MBK_CATA_LIB .:$TOP/cells/sclib setenv MBK_TARGET_LIB $TOP/cells/sclib setenv MBK_C4_LIB ./cellsC4 +setenv MBK_VDD vdd +setenv MBK_VSS vss + setenv XPAT_PARAM_NAME $TOP/etc/xpat.par setenv XFSM_PARAM_NAME $TOP/etc/xfsm.par @@ -78,33 +81,17 @@ setenv ELP_TECHNO_NAME $TOP/etc/prol10.elp # Update PATH and MANPATH if $?PATH then -# setenv PATH $HOME/labo/$MACHINE/bin:$TOP/bin:$PATH - setenv PATH $TOP/bin:$PATH + setenv PATH $TOP/bin:$PATH else -# setenv PATH $HOME/labo/$MACHINE/bin:$TOP/bin - setenv PATH $TOP/bin + setenv PATH $TOP/bin endif if $?MANPATH then - setenv MANPATH $TOP/man:$MANPATH + setenv MANPATH $TOP/man:$MANPATH else - setenv MANPATH $TOP/man + setenv MANPATH $TOP/man endif - -# Show results -if ($?prompt) then -# alias xmbk 'eval `\xmbk -c`' -# cat /users/soft5/newlabo/motd - echo "" - echo "Alliance settings :" - echo "" - echo " MACHINE = $MACHINE" - echo " TOP = $TOP" - echo "" -endif - - # EOF diff --git a/alliance/share/etc/alc_env.sh b/alliance/share/etc/alc_env.sh index ad575d1c..8eef990a 100644 --- a/alliance/share/etc/alc_env.sh +++ b/alliance/share/etc/alc_env.sh @@ -6,31 +6,46 @@ # Alliance CAD system environnement # Usage (in Bourne-shell) : > . alc_env.sh # (C) 1997 Czo -- -# $Id: alc_env.sh,v 1.1 1999/05/31 17:30:30 alliance Exp $ -# Generated from alc_env.sh.in on Mon Sep 28 13:20:39 MET DST 1998 +# $Id: alc_env.sh,v 1.2 1999/08/26 18:47:42 czo Exp $ +# Generated from alc_env.sh.in on Thu Aug 26 20:45:26 CEST 1999 # $MACHINE and $TOP are the only variables you will # have to modify if something goes wrong # Which platform for Alliance CAD - case `uname` in - Linux*) case `uname -r` in - 1.*) MACHINE=Linux_aout ;; - *) MACHINE=Linux_elf ;; - esac ;; - SunOS*) case `uname -r` in - 5*) MACHINE=Solaris ;; - *) MACHINE=SunOS ;; - esac ;; - *) MACHINE=Unknown ;; - esac - export MACHINE +# WARNING : if changing this remember to do it on the 3 config files : +# configure.in alc_env.sh.in and alc_env.csh.in +MACHINE=Unknown + +case `uname` in + + Linux*) case `uname -r` in + 1.*) MACHINE=Linux_aout ;; + 2.0*) MACHINE=Linux_elf ;; + *) MACHINE=Linux ;; + esac ;; + + SunOS*) case `uname -r` in + 5*) MACHINE=Solaris ;; + *) MACHINE=SunOS ;; + esac ;; + + FreeBSD*) MACHINE=FreeBSD ;; + + HP-UX*) MACHINE=HPUX ;; + + OSF1*) MACHINE=OSF ;; + + *) MACHINE=Unknown ;; + +esac +export MACHINE # Where the Alliance CAD is installed - TOP=/users/soft5/newlabo/alliance/archi/$MACHINE ; export TOP + TOP=/alliance/alliance/archi/$MACHINE ; export TOP # User def @@ -44,14 +59,17 @@ MBK_SCALE_X=10; export MBK_SCALE_X - VH_MAXERR=10; export VH_MAXERR - VH_BEHSFX=vbe; export VH_BEHSFX - VH_PATSFX=pat; export VH_PATSFX + VH_MAXERR=10; export VH_MAXERR + VH_BEHSFX=vbe; export VH_BEHSFX + VH_PATSFX=pat; export VH_PATSFX MBK_CATA_LIB=.:$TOP/cells/sclib; export MBK_CATA_LIB MBK_TARGET_LIB=$TOP/cells/sclib; export MBK_TARGET_LIB MBK_C4_LIB=./cellsC4; export MBK_C4_LIB + MBK_VDD=vdd export MBK_VDD + MBK_VSS=vss export MBK_VSS + XPAT_PARAM_NAME=$TOP/etc/xpat.par; export XPAT_PARAM_NAME XFSM_PARAM_NAME=$TOP/etc/xfsm.par; export XFSM_PARAM_NAME @@ -69,21 +87,6 @@ export PATH MANPATH=$TOP/man:$MANPATH export MANPATH - -# Show results -if [ "$PS1" != "" ]; then - if [ ! $PS1 = "\$" ]; then -# alias xmbk='eval `\xmbk -c`' -# cat /users/soft5/newlabo/motd - echo "" - echo "Alliance settings :" - echo "" - echo " MACHINE = $MACHINE" - echo " TOP = $TOP" - echo "" - fi -fi - # EOF diff --git a/alliance/share/etc/alc_env.sh.in b/alliance/share/etc/alc_env.sh.in index e4ffc655..405edea3 100755 --- a/alliance/share/etc/alc_env.sh.in +++ b/alliance/share/etc/alc_env.sh.in @@ -6,7 +6,7 @@ # Alliance CAD system environnement # Usage (in Bourne-shell) : > . alc_env.sh # (C) 1997 Czo -- -# $Id: alc_env.sh.in,v 1.1 1999/05/31 17:30:30 alliance Exp $ +# $Id: alc_env.sh.in,v 1.2 1999/08/26 18:47:42 czo Exp $ # Generated from alc_env.sh.in on @DATE@ # $MACHINE and $TOP are the only variables you will @@ -14,19 +14,34 @@ # Which platform for Alliance CAD - case `uname` in - Linux*) case `uname -r` in - 1.*) MACHINE=Linux_aout ;; - *) MACHINE=Linux_elf ;; - esac ;; - SunOS*) case `uname -r` in - 5*) MACHINE=Solaris ;; - *) MACHINE=SunOS ;; - esac ;; - *) MACHINE=Unknown ;; - esac - export MACHINE +# WARNING : if changing this remember to do it on the 3 config files : +# configure.in alc_env.sh.in and alc_env.csh.in +MACHINE=Unknown + +case `uname` in + + Linux*) case `uname -r` in + 1.*) MACHINE=Linux_aout ;; + 2.0*) MACHINE=Linux_elf ;; + *) MACHINE=Linux ;; + esac ;; + + SunOS*) case `uname -r` in + 5*) MACHINE=Solaris ;; + *) MACHINE=SunOS ;; + esac ;; + + FreeBSD*) MACHINE=FreeBSD ;; + + HP-UX*) MACHINE=HPUX ;; + + OSF1*) MACHINE=OSF ;; + + *) MACHINE=Unknown ;; + +esac +export MACHINE # Where the Alliance CAD is installed @@ -44,14 +59,17 @@ MBK_SCALE_X=10; export MBK_SCALE_X - VH_MAXERR=10; export VH_MAXERR - VH_BEHSFX=vbe; export VH_BEHSFX - VH_PATSFX=pat; export VH_PATSFX + VH_MAXERR=10; export VH_MAXERR + VH_BEHSFX=vbe; export VH_BEHSFX + VH_PATSFX=pat; export VH_PATSFX MBK_CATA_LIB=.:$TOP/cells/sclib; export MBK_CATA_LIB MBK_TARGET_LIB=$TOP/cells/sclib; export MBK_TARGET_LIB MBK_C4_LIB=./cellsC4; export MBK_C4_LIB + MBK_VDD=vdd export MBK_VDD + MBK_VSS=vss export MBK_VSS + XPAT_PARAM_NAME=$TOP/etc/xpat.par; export XPAT_PARAM_NAME XFSM_PARAM_NAME=$TOP/etc/xfsm.par; export XFSM_PARAM_NAME @@ -69,21 +87,6 @@ export PATH MANPATH=$TOP/man:$MANPATH export MANPATH - -# Show results -if [ "$PS1" != "" ]; then - if [ ! $PS1 = "\$" ]; then -# alias xmbk='eval `\xmbk -c`' -# cat /users/soft5/newlabo/motd - echo "" - echo "Alliance settings :" - echo "" - echo " MACHINE = $MACHINE" - echo " TOP = $TOP" - echo "" - fi -fi - # EOF diff --git a/alliance/share/etc/Solaris.mk.in b/alliance/share/etc/alliance_os.mk.in similarity index 65% rename from alliance/share/etc/Solaris.mk.in rename to alliance/share/etc/alliance_os.mk.in index d9eb5c38..096f901d 100644 --- a/alliance/share/etc/Solaris.mk.in +++ b/alliance/share/etc/alliance_os.mk.in @@ -7,30 +7,12 @@ # file : @MACHINE@.mk # -# The variables $TOP and $MACHINE are set by -# alc_env.[c]sh script - -ALLIANCE_VERSION = '"@ALLIANCE_VERSION@"' -ALLIANCE_BIN = $(TOP)/bin -ALLIANCE_LIB = $(TOP)/lib -ALLIANCE_INCLUDE = $(TOP)/include -ALLIANCE_CELLS = $(TOP)/cells -ALLIANCE_ETC = $(TOP)/etc - -# distrib path -TARGET_BIN = $(TOP)/bin -TARGET_LIB = $(TOP)/lib -TARGET_INCLUDE = $(TOP)/include - -# develloppers path -#TARGET_BIN = $(HOME)/labo/$(MACHINE)/bin -#TARGET_LIB = $(HOME)/labo/$(MACHINE)/lib -#TARGET_INCLUDE = $(HOME)/labo/$(MACHINE)/include +# The variables $ALLIANCE_* are set by +# alc_env.[c]sh script or libraries.mk GNU_LIB = @GNU_LIB_LOC@ GNU_INCLUDE = @GNU_INC_LOC@ - X11_LIB = . @X_LIBS@ @X_EXTRA_LIBS@ @X_PRE_LIBS@ X11_INCLUDE = . @X_CFLAGS@ diff --git a/alliance/share/etc/config.log b/alliance/share/etc/config.log index e884f16b..360c62e4 100644 --- a/alliance/share/etc/config.log +++ b/alliance/share/etc/config.log @@ -1,70 +1,71 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -configure:537: checking for platform -configure:554: checking whether make sets ${MAKE} -configure:586: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries -configure:598: checking for gcc -configure:675: checking whether the C compiler (gcc -O ) works -configure:689: gcc -o conftest -O conftest.c 1>&5 -configure:709: checking whether the C compiler (gcc -O ) is a cross-compiler -configure:714: checking whether we are using GNU C -configure:723: gcc -E conftest.c -configure:738: checking whether gcc accepts -g -configure:769: checking for gcc -configure:800: checking how to run the C preprocessor -configure:821: gcc -E conftest.c >/dev/null 2>conftest.out -configure:870: checking for gmake -configure:901: checking for make -configure:947: checking for bison -configure:979: checking for flex -configure:1012: checking for yywrap in -lfl -configure:1031: gcc -o conftest -O4 -Wall conftest.c -lfl 1>&5 -configure:1054: checking lex output file root -configure:1075: checking whether yytext is a pointer -configure:1094: gcc -o conftest -O4 -Wall conftest.c -lfl 1>&5 -configure:1125: checking for flex -configure:1158: checking for bison -configure:1192: checking whether ln -s works -configure:1218: checking for ar -configure:1253: checking for autoconf -configure:1284: checking for autoheader -configure:1315: checking for automake -configure:1347: checking for gawk -configure:1378: checking for awk -configure:1413: checking for cat -configure:1444: checking for chmod -configure:1475: checking for cp -configure:1506: checking for csh -configure:1537: checking for cut -configure:1568: checking for echo -configure:1599: checking for false -configure:1630: checking for find -configure:1661: checking for grep -configure:1692: checking for hostname -configure:1723: checking for ld -configure:1754: checking for lndir -configure:1785: checking for ls -configure:1816: checking for mkdir -configure:1847: checking for mv -configure:1878: checking for perl -configure:1909: checking for ranlib -configure:1940: checking for rm -configure:1971: checking for sed -configure:2003: checking for sh -configure:2041: checking for strip -configure:2072: checking for test -configure:2103: checking for touch -configure:2134: checking for tr -configure:2165: checking for true -configure:2196: checking for wc -configure:2260: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers and Libraries... -configure:2275: checking for X -configure:2589: checking for dnet_ntoa in -ldnet -configure:2608: gcc -o conftest -O4 -Wall conftest.c -ldnet 1>&5 -ld: cannot open -ldnet: No such file or directory +configure:540: checking for platform +configure:574: checking whether make sets ${MAKE} +configure:603: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries +configure:615: checking for gcc +configure:728: checking whether the C compiler (gcc -O ) works +configure:744: gcc -o conftest -O conftest.c 1>&5 +configure:770: checking whether the C compiler (gcc -O ) is a cross-compiler +configure:775: checking whether we are using GNU C +configure:784: gcc -E conftest.c +configure:803: checking whether gcc accepts -g +configure:838: checking for gcc +configure:873: checking how to run the C preprocessor +configure:894: gcc -E conftest.c >/dev/null 2>conftest.out +configure:962: checking for gmake +configure:997: checking for make +configure:1047: checking for bison +configure:1080: checking for flex +configure:1114: checking for yywrap in -lfl +configure:1133: gcc -o conftest -O4 -Wall conftest.c -lfl 1>&5 +configure:1156: checking lex output file root +configure:1177: checking whether yytext is a pointer +configure:1196: gcc -o conftest -O4 -Wall conftest.c -lfl 1>&5 +configure:1227: checking for flex +configure:1264: checking for bison +configure:1302: checking whether ln -s works +configure:1328: checking for ar +configure:1367: checking for autoconf +configure:1402: checking for autoheader +configure:1437: checking for automake +configure:1473: checking for gawk +configure:1508: checking for awk +configure:1547: checking for cat +configure:1582: checking for chmod +configure:1617: checking for cp +configure:1652: checking for csh +configure:1687: checking for cut +configure:1722: checking for echo +configure:1757: checking for false +configure:1792: checking for find +configure:1827: checking for grep +configure:1862: checking for hostname +configure:1897: checking for ld +configure:1932: checking for lndir +configure:1967: checking for ls +configure:2002: checking for mkdir +configure:2037: checking for mv +configure:2072: checking for perl +configure:2107: checking for ranlib +configure:2142: checking for rm +configure:2177: checking for sed +configure:2213: checking for sh +configure:2255: checking for strip +configure:2290: checking for test +configure:2325: checking for touch +configure:2360: checking for tr +configure:2395: checking for true +configure:2430: checking for wc +configure:2498: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers and Libraries... +configure:2513: checking for X +configure:2827: checking for dnet_ntoa in -ldnet +configure:2846: gcc -o conftest -O4 -Wall conftest.c -ldnet 1>&5 +/usr/bin/ld: cannot open -ldnet: No such file or directory +collect2: ld returned 1 exit status configure: failed program was: -#line 2597 "configure" +#line 2835 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -74,11 +75,12 @@ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } -configure:2630: checking for dnet_ntoa in -ldnet_stub -configure:2649: gcc -o conftest -O4 -Wall conftest.c -ldnet_stub 1>&5 -ld: cannot open -ldnet_stub: No such file or directory +configure:2868: checking for dnet_ntoa in -ldnet_stub +configure:2887: gcc -o conftest -O4 -Wall conftest.c -ldnet_stub 1>&5 +/usr/bin/ld: cannot open -ldnet_stub: No such file or directory +collect2: ld returned 1 exit status configure: failed program was: -#line 2638 "configure" +#line 2876 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -88,21 +90,21 @@ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } -configure:2678: checking for gethostbyname -configure:2706: gcc -o conftest -O4 -Wall conftest.c 1>&5 -configure:2776: checking for connect -configure:2804: gcc -o conftest -O4 -Wall conftest.c 1>&5 -configure:2868: checking for remove -configure:2896: gcc -o conftest -O4 -Wall conftest.c 1>&5 -configure:2960: checking for shmat -configure:2988: gcc -o conftest -O4 -Wall conftest.c 1>&5 -configure:3061: checking for IceConnectionNumber in -lICE -configure:3080: gcc -o conftest -O4 -Wall -L/usr/X11R6/lib conftest.c -lICE 1>&5 -configure:3113: checking for location of Motif GUI includes -configure:3136: checking for location of Motif GUI libs -configure:3171: checking for location of GNU includes -configure:3193: checking for location of GNU libs -configure:3216: checking for ANSI C header files -configure:3229: gcc -E conftest.c >/dev/null 2>conftest.out -configure:3296: gcc -o conftest -O4 -Wall conftest.c 1>&5 -configure:3329: checking where the Alliance package was installed +configure:2916: checking for gethostbyname +configure:2944: gcc -o conftest -O4 -Wall conftest.c 1>&5 +configure:3014: checking for connect +configure:3042: gcc -o conftest -O4 -Wall conftest.c 1>&5 +configure:3106: checking for remove +configure:3134: gcc -o conftest -O4 -Wall conftest.c 1>&5 +configure:3198: checking for shmat +configure:3226: gcc -o conftest -O4 -Wall conftest.c 1>&5 +configure:3299: checking for IceConnectionNumber in -lICE +configure:3318: gcc -o conftest -O4 -Wall -L/usr/X11R6/lib conftest.c -lICE 1>&5 +configure:3351: checking for location of Motif GUI includes +configure:3374: checking for location of Motif GUI libs +configure:3409: checking for location of GNU includes +configure:3431: checking for location of GNU libs +configure:3454: checking for ANSI C header files +configure:3467: gcc -E conftest.c >/dev/null 2>conftest.out +configure:3534: gcc -o conftest -O4 -Wall conftest.c 1>&5 +configure:3567: checking where the Alliance package was installed diff --git a/alliance/share/etc/config.status b/alliance/share/etc/config.status index dfe7a524..593055ab 100755 --- a/alliance/share/etc/config.status +++ b/alliance/share/etc/config.status @@ -2,7 +2,7 @@ # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, -# on host bechet: +# on host carter.lip6.fr: # # ./configure # @@ -17,7 +17,7 @@ do echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "./config.status generated by autoconf version 2.12" + echo "./config.status generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "$ac_cs_usage"; exit 0 ;; @@ -27,16 +27,18 @@ done ac_given_srcdir=. -trap 'rm -fr Linux_elf.mk alc_env.sh alc_env.csh conftest*; exit 1' 1 2 15 +trap 'rm -fr alliance_os.mk alc_env.sh alc_env.csh conftest*; exit 1' 1 2 15 # Protect against being on the right side of a sed subst in config.status. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF /^[ ]*VPATH[ ]*=[^:]*$/d +s%@SHELL@%/bin/sh%g s%@CFLAGS@%-O4 -Wall%g s%@CPPFLAGS@%%g s%@CXXFLAGS@%%g +s%@FFLAGS@%%g s%@DEFS@% -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 %g s%@LDFLAGS@%%g s%@LIBS@%%g @@ -55,14 +57,13 @@ s%@includedir@%${prefix}/include%g s%@oldincludedir@%/usr/include%g s%@infodir@%${prefix}/info%g s%@mandir@%${prefix}/man%g -s%@MACHINE@%Linux_elf%g +s%@MACHINE@%Linux%g s%@SET_MAKE@%%g -s%@ALLIANCE_VERSION@%3.2b%g s%@CC@%gcc%g -s%@FULL_CC@%/asim/gnu/bin/gcc%g +s%@FULL_CC@%/usr/bin/gcc%g s%@CPP@%gcc -E%g -s%@GMAKE@%/asim/gnu/bin/gmake%g -s%@MAKE@%/asim/gnu/bin/gmake%g +s%@GMAKE@%/usr/bin/gmake%g +s%@MAKE@%/usr/bin/gmake%g s%@MAKEFLAGS@%%g s%@YACC@%bison -y%g s%@LEX@%flex%g @@ -70,55 +71,54 @@ s%@LEXLIB@%-lfl%g s%@LEX_OUTPUT_ROOT@%lex.yy%g s%@YACCFLAGS@%-y %g s%@LEXFLAGS@%%g -s%@FULL_LEX@%/asim/gnu/bin/flex%g -s%@FULL_YACC@%/asim/gnu/bin/bison%g +s%@FULL_LEX@%/usr/bin/flex%g +s%@FULL_YACC@%/usr/bin/bison%g s%@CPP_MM@%M%g s%@LN_S@%ln -s%g -s%@AR@%/asim/gnu/bin/ar%g +s%@AR@%/usr/bin/ar%g s%@ARFLAGS@%rv%g -s%@AUTOCONF@%/asim/gnu/bin/autoconf%g -s%@AUTOHEADER@%/asim/gnu/bin/autoheader%g -s%@AUTOMAKE@%/asim/gnu/bin/automake%g -s%@GAWK@%/asim/gnu/bin/gawk%g -s%@AWK@%/asim/gnu/bin/gawk%g -s%@CAT@%/asim/gnu/bin/cat%g -s%@CHMOD@%/asim/gnu/bin/chmod%g -s%@CP@%/asim/gnu/bin/cp%g +s%@AUTOCONF@%/usr/bin/autoconf%g +s%@AUTOHEADER@%/usr/bin/autoheader%g +s%@AUTOMAKE@%/usr/bin/automake%g +s%@GAWK@%/bin/gawk%g +s%@AWK@%/bin/gawk%g +s%@CAT@%/bin/cat%g +s%@CHMOD@%/bin/chmod%g +s%@CP@%/bin/cp%g s%@CSH@%/bin/csh%g -s%@CUT@%/asim/gnu/bin/cut%g -s%@ECHO@%/asim/gnu/bin/echo%g -s%@FALSE@%/asim/gnu/bin/false%g -s%@FIND@%/asim/gnu/bin/find%g -s%@GREP@%/asim/gnu/bin/grep%g -s%@HOSTNAME@%/asim/gnu/bin/hostname%g -s%@LD@%/asim/gnu/bin/ld%g -s%@LNDIR@%/usr/X11/bin/lndir%g -s%@LS@%/asim/gnu/bin/ls%g -s%@MKDIR@%/asim/gnu/bin/mkdir%g -s%@MV@%/asim/gnu/bin/mv%g -s%@PERL@%/asim/gnu/bin/perl%g -s%@RANLIB@%/asim/gnu/bin/ranlib%g -s%@RM@%/asim/gnu/bin/rm%g -s%@SED@%/asim/gnu/bin/sed%g -s%@SH@%/asim/gnu/bin/sh%g -s%@SHELL@%/asim/gnu/bin/sh%g -s%@STRIP@%/asim/gnu/bin/strip%g -s%@TEST@%/asim/gnu/bin/test%g -s%@TOUCH@%/asim/gnu/bin/touch%g -s%@TR@%/asim/gnu/bin/tr%g -s%@TRUE@%/asim/gnu/bin/true%g -s%@WC@%/asim/gnu/bin/wc%g +s%@CUT@%/usr/bin/cut%g +s%@ECHO@%/bin/echo%g +s%@FALSE@%/bin/false%g +s%@FIND@%/usr/bin/find%g +s%@GREP@%/bin/grep%g +s%@HOSTNAME@%/bin/hostname%g +s%@LD@%/usr/bin/ld%g +s%@LNDIR@%/usr/X11R6/bin/lndir%g +s%@LS@%/bin/ls%g +s%@MKDIR@%/bin/mkdir%g +s%@MV@%/bin/mv%g +s%@PERL@%/usr/bin/perl%g +s%@RANLIB@%/usr/bin/ranlib%g +s%@RM@%/bin/rm%g +s%@SED@%/bin/sed%g +s%@SH@%/bin/sh%g +s%@STRIP@%/usr/bin/strip%g +s%@TEST@%/usr/bin/test%g +s%@TOUCH@%/bin/touch%g +s%@TR@%/usr/bin/tr%g +s%@TRUE@%/bin/true%g +s%@WC@%/usr/bin/wc%g s%@X_CFLAGS@% -I/usr/X11R6/include%g s%@X_PRE_LIBS@% -lSM -lICE%g s%@X_LIBS@% -L/usr/X11R6/lib%g s%@X_EXTRA_LIBS@%%g -s%@GUI_INC_LOC@%/usr/include/X11%g +s%@GUI_INC_LOC@%/usr/X11R6/include%g s%@GUI_LIB_LOC@%/usr/X11R6/lib%g -s%@GNU_INC_LOC@%/asim/gnu/include%g -s%@GNU_LIB_LOC@%/asim/gnu/lib%g -s%@TOP@%/users/soft5/newlabo/alliance/archi%g -s%@DATE@%Mon Sep 28 13:20:39 MET DST 1998%g -s%@HOST@%Linux bechet 2.0.33 #2 Sun Mar 15 03:57:50 MET 1998 i586 unknown%g +s%@GNU_INC_LOC@%.%g +s%@GNU_LIB_LOC@%/usr/lib%g +s%@TOP@%/alliance/alliance/archi%g +s%@DATE@%Thu Aug 26 20:45:26 CEST 1999%g +s%@HOST@%Linux carter.lip6.fr 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown%g CEOF @@ -154,7 +154,7 @@ if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi -CONFIG_FILES=${CONFIG_FILES-"Linux_elf.mk alc_env.sh alc_env.csh"} +CONFIG_FILES=${CONFIG_FILES-"alliance_os.mk alc_env.sh alc_env.csh"} for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in diff --git a/alliance/share/etc/configure b/alliance/share/etc/configure index caeb3e04..463220a9 100755 --- a/alliance/share/etc/configure +++ b/alliance/share/etc/configure @@ -1,8 +1,8 @@ #! /bin/sh -# From configure.in Revision: 1.5 +# From configure.in Revision: 1.6 # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.12 +# Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation @@ -53,6 +53,7 @@ mandir='${prefix}/man' # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 @@ -336,7 +337,7 @@ EOF verbose=yes ;; -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.12" + echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) @@ -506,9 +507,11 @@ ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross +ac_exeext= +ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then @@ -533,24 +536,41 @@ fi # Which platform for Alliance CAD echo $ac_n "checking for platform""... $ac_c" 1>&6 -echo "configure:537: checking for platform" >&5 +echo "configure:540: checking for platform" >&5 + +# WARNING : if changing this remember to do it on the 3 config files : +# configure.in alc_env.sh.in and alc_env.csh.in +MACHINE=Unknown + case `uname` in + Linux*) case `uname -r` in - 1.*) MACHINE=Linux_aout ;; - *) MACHINE=Linux_elf ;; + 1.*) MACHINE=Linux_aout ;; + 2.0*) MACHINE=Linux_elf ;; + *) MACHINE=Linux ;; esac ;; + SunOS*) case `uname -r` in 5*) MACHINE=Solaris ;; *) MACHINE=SunOS ;; esac ;; + + FreeBSD*) MACHINE=FreeBSD ;; + + HP-UX*) MACHINE=HPUX ;; + + OSF1*) MACHINE=OSF ;; + *) MACHINE=Unknown ;; + esac export MACHINE + echo "$ac_t""Configuring Alliance VLSI CAD System on platform : $MACHINE" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:554: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:574: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -577,12 +597,9 @@ else fi -ALLIANCE_VERSION=3.2b - - ################################################################## Binaries echo "checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries" 1>&6 -echo "configure:586: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries" >&5 +echo "configure:603: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries" >&5 # AC_CANONICAL_SYSTEM @@ -594,15 +611,16 @@ fi # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:598: checking for $ac_word" >&5 +echo "configure:615: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="gcc" @@ -623,16 +641,17 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:627: checking for $ac_word" >&5 +echo "configure:645: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - for ac_dir in $PATH; do + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then @@ -667,25 +686,61 @@ else echo "$ac_t""no" 1>&6 fi + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:696: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:675: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:728: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross -cat > conftest.$ac_ext < conftest.$ac_ext << EOF + +#line 739 "configure" #include "confdefs.h" + main(){return(0);} EOF -if { (eval echo configure:689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -699,18 +754,24 @@ else ac_cv_prog_cc_works=no fi rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:770: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:714: checking whether we are using GNU C" >&5 +echo "configure:775: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -719,7 +780,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -730,11 +791,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6 if test $ac_cv_prog_gcc = yes; then GCC=yes - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS= - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:738: checking whether ${CC-cc} accepts -g" >&5 +else + GCC= +fi + +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:803: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -749,23 +814,27 @@ rm -f conftest* fi echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - elif test $ac_cv_prog_cc_g = yes; then +if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then CFLAGS="-g -O2" else - CFLAGS="-O2" + CFLAGS="-g" fi else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi fi # Extract the first word of "$CC", so it can be a program name with args. set dummy $CC; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:769: checking for $ac_word" >&5 +echo "configure:838: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_FULL_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -773,9 +842,13 @@ else /*) ac_cv_path_FULL_CC="$FULL_CC" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_FULL_CC="$FULL_CC" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_FULL_CC="$ac_dir/$ac_word" @@ -796,7 +869,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:800: checking how to run the C preprocessor" >&5 +echo "configure:873: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -811,14 +884,14 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else @@ -828,14 +901,31 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else @@ -847,6 +937,8 @@ else fi rm -f conftest* fi +rm -f conftest* +fi rm -f conftest* ac_cv_prog_CPP="$CPP" fi @@ -866,7 +958,7 @@ fi # Extract the first word of "gmake", so it can be a program name with args. set dummy gmake; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:870: checking for $ac_word" >&5 +echo "configure:962: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -874,9 +966,13 @@ else /*) ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GMAKE="$ac_dir/$ac_word" @@ -897,7 +993,7 @@ fi # Extract the first word of "make", so it can be a program name with args. set dummy make; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:901: checking for $ac_word" >&5 +echo "configure:997: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -905,9 +1001,13 @@ else /*) ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_MAKE="$MAKE" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_MAKE="$ac_dir/$ac_word" @@ -943,15 +1043,16 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:947: checking for $ac_word" >&5 +echo "configure:1047: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_YACC="$ac_prog" @@ -975,15 +1076,16 @@ test -n "$YACC" || YACC="yacc" # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:979: checking for $ac_word" >&5 +echo "configure:1080: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_LEX="flex" @@ -1008,7 +1110,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:1012: checking for yywrap in -l$ac_lib" >&5 +echo "configure:1114: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1016,7 +1118,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1050,7 +1152,7 @@ fi fi echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:1054: checking lex output file root" >&5 +echo "configure:1156: checking lex output file root" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1071,7 +1173,7 @@ echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:1075: checking whether yytext is a pointer" >&5 +echo "configure:1177: checking whether yytext is a pointer" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1083,14 +1185,14 @@ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c ac_save_LIBS="$LIBS" LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes else @@ -1121,7 +1223,7 @@ LEXFLAGS=`echo $LEX | awk '{for (i=2 ; i<=NF ; i++) printf("%s ", $i);printf (" # Extract the first word of "`echo $LEX | awk '{print $1}'`", so it can be a program name with args. set dummy `echo $LEX | awk '{print $1}'`; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1125: checking for $ac_word" >&5 +echo "configure:1227: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_FULL_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1129,9 +1231,13 @@ else /*) ac_cv_path_FULL_LEX="$FULL_LEX" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_FULL_LEX="$FULL_LEX" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_FULL_LEX="$ac_dir/$ac_word" @@ -1154,7 +1260,7 @@ fi # Extract the first word of "`echo $YACC | awk '{print $1}'`", so it can be a program name with args. set dummy `echo $YACC | awk '{print $1}'`; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1158: checking for $ac_word" >&5 +echo "configure:1264: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_FULL_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1162,9 +1268,13 @@ else /*) ac_cv_path_FULL_YACC="$FULL_YACC" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_FULL_YACC="$FULL_YACC" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_FULL_YACC="$ac_dir/$ac_word" @@ -1188,7 +1298,7 @@ fi test "$GCC" = yes && CPP_MM=M; echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1192: checking whether ln -s works" >&5 +echo "configure:1302: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1214,7 +1324,7 @@ fi # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1218: checking for $ac_word" >&5 +echo "configure:1328: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1222,9 +1332,13 @@ else /*) ac_cv_path_AR="$AR" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_AR="$AR" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_AR="$ac_dir/$ac_word" @@ -1249,7 +1363,7 @@ ARFLAGS=rv # Extract the first word of "autoconf", so it can be a program name with args. set dummy autoconf; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1253: checking for $ac_word" >&5 +echo "configure:1367: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AUTOCONF'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1257,9 +1371,13 @@ else /*) ac_cv_path_AUTOCONF="$AUTOCONF" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_AUTOCONF="$AUTOCONF" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_AUTOCONF="$ac_dir/$ac_word" @@ -1280,7 +1398,7 @@ fi # Extract the first word of "autoheader", so it can be a program name with args. set dummy autoheader; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1284: checking for $ac_word" >&5 +echo "configure:1402: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AUTOHEADER'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1288,9 +1406,13 @@ else /*) ac_cv_path_AUTOHEADER="$AUTOHEADER" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_AUTOHEADER="$AUTOHEADER" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_AUTOHEADER="$ac_dir/$ac_word" @@ -1311,7 +1433,7 @@ fi # Extract the first word of "automake", so it can be a program name with args. set dummy automake; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1315: checking for $ac_word" >&5 +echo "configure:1437: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AUTOMAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1319,9 +1441,13 @@ else /*) ac_cv_path_AUTOMAKE="$AUTOMAKE" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_AUTOMAKE="$AUTOMAKE" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_AUTOMAKE="$ac_dir/$ac_word" @@ -1343,7 +1469,7 @@ fi # Extract the first word of "gawk", so it can be a program name with args. set dummy gawk; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1347: checking for $ac_word" >&5 +echo "configure:1473: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GAWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1351,9 +1477,13 @@ else /*) ac_cv_path_GAWK="$GAWK" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GAWK="$GAWK" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GAWK="$ac_dir/$ac_word" @@ -1374,7 +1504,7 @@ fi # Extract the first word of "awk", so it can be a program name with args. set dummy awk; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1378: checking for $ac_word" >&5 +echo "configure:1508: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1382,9 +1512,13 @@ else /*) ac_cv_path_AWK="$AWK" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_AWK="$AWK" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_AWK="$ac_dir/$ac_word" @@ -1409,7 +1543,7 @@ fi # Extract the first word of "cat", so it can be a program name with args. set dummy cat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1413: checking for $ac_word" >&5 +echo "configure:1547: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1417,9 +1551,13 @@ else /*) ac_cv_path_CAT="$CAT" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_CAT="$CAT" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_CAT="$ac_dir/$ac_word" @@ -1440,7 +1578,7 @@ fi # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1444: checking for $ac_word" >&5 +echo "configure:1582: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1448,9 +1586,13 @@ else /*) ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_CHMOD="$ac_dir/$ac_word" @@ -1471,7 +1613,7 @@ fi # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1475: checking for $ac_word" >&5 +echo "configure:1617: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1479,9 +1621,13 @@ else /*) ac_cv_path_CP="$CP" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_CP="$CP" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_CP="$ac_dir/$ac_word" @@ -1502,7 +1648,7 @@ fi # Extract the first word of "csh", so it can be a program name with args. set dummy csh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1506: checking for $ac_word" >&5 +echo "configure:1652: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1510,9 +1656,13 @@ else /*) ac_cv_path_CSH="$CSH" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_CSH="$CSH" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_CSH="$ac_dir/$ac_word" @@ -1533,7 +1683,7 @@ fi # Extract the first word of "cut", so it can be a program name with args. set dummy cut; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1537: checking for $ac_word" >&5 +echo "configure:1687: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CUT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1541,9 +1691,13 @@ else /*) ac_cv_path_CUT="$CUT" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_CUT="$CUT" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_CUT="$ac_dir/$ac_word" @@ -1564,7 +1718,7 @@ fi # Extract the first word of "echo", so it can be a program name with args. set dummy echo; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1568: checking for $ac_word" >&5 +echo "configure:1722: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ECHO'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1572,9 +1726,13 @@ else /*) ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_ECHO="$ECHO" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_ECHO="$ac_dir/$ac_word" @@ -1595,7 +1753,7 @@ fi # Extract the first word of "false", so it can be a program name with args. set dummy false; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1599: checking for $ac_word" >&5 +echo "configure:1757: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_FALSE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1603,9 +1761,13 @@ else /*) ac_cv_path_FALSE="$FALSE" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_FALSE="$FALSE" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_FALSE="$ac_dir/$ac_word" @@ -1626,7 +1788,7 @@ fi # Extract the first word of "find", so it can be a program name with args. set dummy find; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1630: checking for $ac_word" >&5 +echo "configure:1792: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_FIND'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1634,9 +1796,13 @@ else /*) ac_cv_path_FIND="$FIND" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_FIND="$FIND" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_FIND="$ac_dir/$ac_word" @@ -1657,7 +1823,7 @@ fi # Extract the first word of "grep", so it can be a program name with args. set dummy grep; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1661: checking for $ac_word" >&5 +echo "configure:1827: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1665,9 +1831,13 @@ else /*) ac_cv_path_GREP="$GREP" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_GREP="$GREP" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GREP="$ac_dir/$ac_word" @@ -1688,7 +1858,7 @@ fi # Extract the first word of "hostname", so it can be a program name with args. set dummy hostname; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1692: checking for $ac_word" >&5 +echo "configure:1862: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_HOSTNAME'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1696,9 +1866,13 @@ else /*) ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_HOSTNAME="$ac_dir/$ac_word" @@ -1719,7 +1893,7 @@ fi # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1723: checking for $ac_word" >&5 +echo "configure:1897: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1727,9 +1901,13 @@ else /*) ac_cv_path_LD="$LD" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_LD="$LD" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_LD="$ac_dir/$ac_word" @@ -1750,7 +1928,7 @@ fi # Extract the first word of "lndir", so it can be a program name with args. set dummy lndir; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1754: checking for $ac_word" >&5 +echo "configure:1932: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LNDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1758,9 +1936,13 @@ else /*) ac_cv_path_LNDIR="$LNDIR" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_LNDIR="$LNDIR" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_LNDIR="$ac_dir/$ac_word" @@ -1781,7 +1963,7 @@ fi # Extract the first word of "ls", so it can be a program name with args. set dummy ls; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1785: checking for $ac_word" >&5 +echo "configure:1967: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1789,9 +1971,13 @@ else /*) ac_cv_path_LS="$LS" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_LS="$LS" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_LS="$ac_dir/$ac_word" @@ -1812,7 +1998,7 @@ fi # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1816: checking for $ac_word" >&5 +echo "configure:2002: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1820,9 +2006,13 @@ else /*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_MKDIR="$ac_dir/$ac_word" @@ -1843,7 +2033,7 @@ fi # Extract the first word of "mv", so it can be a program name with args. set dummy mv; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1847: checking for $ac_word" >&5 +echo "configure:2037: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1851,9 +2041,13 @@ else /*) ac_cv_path_MV="$MV" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_MV="$MV" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_MV="$ac_dir/$ac_word" @@ -1874,7 +2068,7 @@ fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1878: checking for $ac_word" >&5 +echo "configure:2072: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1882,9 +2076,13 @@ else /*) ac_cv_path_PERL="$PERL" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_PERL="$ac_dir/$ac_word" @@ -1905,7 +2103,7 @@ fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1909: checking for $ac_word" >&5 +echo "configure:2107: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1913,9 +2111,13 @@ else /*) ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_RANLIB="$ac_dir/$ac_word" @@ -1936,7 +2138,7 @@ fi # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1940: checking for $ac_word" >&5 +echo "configure:2142: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1944,9 +2146,13 @@ else /*) ac_cv_path_RM="$RM" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_RM="$RM" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_RM="$ac_dir/$ac_word" @@ -1967,7 +2173,7 @@ fi # Extract the first word of "sed", so it can be a program name with args. set dummy sed; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1971: checking for $ac_word" >&5 +echo "configure:2177: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1975,9 +2181,13 @@ else /*) ac_cv_path_SED="$SED" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_SED="$SED" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_SED="$ac_dir/$ac_word" @@ -1999,7 +2209,7 @@ fi # Extract the first word of "sh", so it can be a program name with args. set dummy sh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2003: checking for $ac_word" >&5 +echo "configure:2213: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_SH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2007,9 +2217,13 @@ else /*) ac_cv_path_SH="$SH" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_SH="$SH" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_SH="$ac_dir/$ac_word" @@ -2030,14 +2244,14 @@ fi if test "$SH" != sh ; then SHELL=$SH else - SHELL=/bin/shkvjdkjvdf + SHELL=/bin/sh fi # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2041: checking for $ac_word" >&5 +echo "configure:2255: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2045,9 +2259,13 @@ else /*) ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_STRIP="$STRIP" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_STRIP="$ac_dir/$ac_word" @@ -2068,7 +2286,7 @@ fi # Extract the first word of "test", so it can be a program name with args. set dummy test; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2072: checking for $ac_word" >&5 +echo "configure:2290: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TEST'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2076,9 +2294,13 @@ else /*) ac_cv_path_TEST="$TEST" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_TEST="$TEST" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_TEST="$ac_dir/$ac_word" @@ -2099,7 +2321,7 @@ fi # Extract the first word of "touch", so it can be a program name with args. set dummy touch; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2103: checking for $ac_word" >&5 +echo "configure:2325: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2107,9 +2329,13 @@ else /*) ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_TOUCH="$ac_dir/$ac_word" @@ -2130,7 +2356,7 @@ fi # Extract the first word of "tr", so it can be a program name with args. set dummy tr; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2134: checking for $ac_word" >&5 +echo "configure:2360: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2138,9 +2364,13 @@ else /*) ac_cv_path_TR="$TR" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_TR="$TR" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_TR="$ac_dir/$ac_word" @@ -2161,7 +2391,7 @@ fi # Extract the first word of "true", so it can be a program name with args. set dummy true; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2165: checking for $ac_word" >&5 +echo "configure:2395: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TRUE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2169,9 +2399,13 @@ else /*) ac_cv_path_TRUE="$TRUE" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_TRUE="$TRUE" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_TRUE="$ac_dir/$ac_word" @@ -2192,7 +2426,7 @@ fi # Extract the first word of "wc", so it can be a program name with args. set dummy wc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2196: checking for $ac_word" >&5 +echo "configure:2430: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_WC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2200,9 +2434,13 @@ else /*) ac_cv_path_WC="$WC" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_WC="$WC" # Let the user override the test with a dos path. + ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_WC="$ac_dir/$ac_word" @@ -2256,7 +2494,7 @@ fi ################################################################## Libraries... echo "checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers and Libraries..." 1>&6 -echo "configure:2260: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers and Libraries..." >&5 +echo "configure:2498: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers and Libraries..." >&5 # Check that Xpm is installed # ($TRUE is used to avoid inclusion of -lXpm in LIBS) #AC_CHECK_LIB(Xpm, XpmReadFileToImage, $TRUE, @@ -2271,7 +2509,7 @@ echo "configure:2260: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers # Uses ac_ vars as temps to allow command line to override cache and checks. # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:2275: checking for X" >&5 +echo "configure:2513: checking for X" >&5 # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -2333,13 +2571,13 @@ if test "$ac_x_includes" = NO; then # First, try using that file with no special directory specified. cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:2580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* # We can compile using X headers with no special include directory. @@ -2407,14 +2645,14 @@ if test "$ac_x_libraries" = NO; then ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* LIBS="$ac_save_LIBS" # We can link X programs with no special library path. @@ -2520,17 +2758,17 @@ else case "`(uname -sr) 2>/dev/null`" in "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:2524: checking whether -R must be followed by a space" >&5 +echo "configure:2762: checking whether -R must be followed by a space" >&5 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_nospace=yes else @@ -2546,14 +2784,14 @@ rm -f conftest* else LIBS="$ac_xsave_LIBS -R $x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_space=yes else @@ -2585,7 +2823,7 @@ rm -f conftest* # libraries were built with DECnet support. And karl@cs.umb.edu says # the Alpha needs dnet_stub (dnet does not exist). echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 -echo "configure:2589: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:2827: checking for dnet_ntoa in -ldnet" >&5 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2593,7 +2831,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2626,7 +2864,7 @@ fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 -echo "configure:2630: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:2868: checking for dnet_ntoa in -ldnet_stub" >&5 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2634,7 +2872,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2674,12 +2912,12 @@ fi # The nsl library prevents programs from opening the X display # on Irix 5.2, according to dickey@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:2678: checking for gethostbyname" >&5 +echo "configure:2916: checking for gethostbyname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" else @@ -2723,7 +2961,7 @@ fi if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:2727: checking for gethostbyname in -lnsl" >&5 +echo "configure:2965: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2731,7 +2969,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2772,12 +3010,12 @@ fi # -lsocket must be given before -lnsl if both are needed. # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:2776: checking for connect" >&5 +echo "configure:3014: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_connect=yes" else @@ -2821,7 +3059,7 @@ fi if test $ac_cv_func_connect = no; then echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:2825: checking for connect in -lsocket" >&5 +echo "configure:3063: checking for connect in -lsocket" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2829,7 +3067,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2864,12 +3102,12 @@ fi # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. echo $ac_n "checking for remove""... $ac_c" 1>&6 -echo "configure:2868: checking for remove" >&5 +echo "configure:3106: checking for remove" >&5 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_remove=yes" else @@ -2913,7 +3151,7 @@ fi if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:2917: checking for remove in -lposix" >&5 +echo "configure:3155: checking for remove in -lposix" >&5 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2921,7 +3159,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2956,12 +3194,12 @@ fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:2960: checking for shmat" >&5 +echo "configure:3198: checking for shmat" >&5 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shmat=yes" else @@ -3005,7 +3243,7 @@ fi if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:3009: checking for shmat in -lipc" >&5 +echo "configure:3247: checking for shmat in -lipc" >&5 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3013,7 +3251,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3057,15 +3295,15 @@ fi # libraries we check for below, so use a different variable. # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:3061: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:3299: checking for IceConnectionNumber in -lICE" >&5 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lICE $LIBS" +LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3109,7 +3347,7 @@ SKIP_MOTIF= if test -z "$SKIP_MOTIF"; then gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` /local/Motif*/include /local/include/Motif* /usr/local/Motif*/include /usr/local/include/Motif* /usr/include/Motif* /usr/Motif*/include /usr/local/include /usr/local/X11*/include /usr/include /usr/X11*/include /usr/include/X11* /usr/dt/include $MOTIFHOME/include $GUI_INC_LOC" echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 -echo "configure:3113: checking for location of Motif GUI includes" >&5 +echo "configure:3351: checking for location of Motif GUI includes" >&5 GUI_INC_LOC= for try in $gui_includes; do if test -f "$try/Xm/Xm.h"; then @@ -3132,7 +3370,7 @@ fi if test -z "$SKIP_MOTIF"; then gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$GUI_INC_LOC" | sed 's/include/lib/'` /local/Motif*/lib /local/lib/Motif* /usr/local/Motif*/lib /usr/local/lib/Motif* /usr/Motif*/lib /usr/lib/Motif* /usr/local/lib /usr/local/X11*/lib /usr/lib /usr/X11*/lib /usr/lib/X11* /usr/dt/lib $MOTIFHOME/lib $GUI_LIB_LOC" echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 -echo "configure:3136: checking for location of Motif GUI libs" >&5 +echo "configure:3374: checking for location of Motif GUI libs" >&5 GUI_LIB_LOC= for try in $gui_libs; do if test -f "$try/libXm.a" -o -f "$try/libXm.so" -o -f "$try/libXm.sl"; then @@ -3167,7 +3405,7 @@ SKIP_GNU= if test -z "$SKIP_GNU"; then gnu_includes="`echo $LD_LIBRARY_PATH | sed 's/:/ /g' | sed 's/lib/include/g'` /usr/local/include /usr/include $GNUHOME/include $GNU_INC_LOC" echo $ac_n "checking for location of GNU includes""... $ac_c" 1>&6 -echo "configure:3171: checking for location of GNU includes" >&5 +echo "configure:3409: checking for location of GNU includes" >&5 GNU_INC_LOC= # echo $gnu_includes for try in $gnu_includes; do @@ -3189,7 +3427,7 @@ fi if test -z "$SKIP_GNU"; then gnu_libs="`echo $LD_LIBRARY_PATH | sed 's/:/ /g'` `echo "$GNU_INC_LOC" | sed 's/include/lib/'` /usr/local/lib /usr/lib $GNUHOME/lib $GNU_LIB_LOC" echo $ac_n "checking for location of GNU libs""... $ac_c" 1>&6 -echo "configure:3193: checking for location of GNU libs" >&5 +echo "configure:3431: checking for location of GNU libs" >&5 GNU_LIB_LOC= # echo $gnu_libs for try in $gnu_libs; do @@ -3212,12 +3450,12 @@ fi ################################################################### Headers... echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:3216: checking for ANSI C header files" >&5 +echo "configure:3454: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3225,8 +3463,8 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:3467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* ac_cv_header_stdc=yes @@ -3242,7 +3480,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -3260,7 +3498,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -3281,7 +3519,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -3292,7 +3530,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:3296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -3325,10 +3563,10 @@ fi ################################################################### Alliance TOP echo $ac_n "checking where the Alliance package was installed""... $ac_c" 1>&6 -echo "configure:3329: checking where the Alliance package was installed" >&5 - TOP=`pwd | sed 's/share\/etc$/archi/'` +echo "configure:3567: checking where the Alliance package was installed" >&5 + TOP=`pwd | sed 's,share/etc$,archi,'` export TOP -echo "$ac_t""Alliance TOP is "$TOP"" 1>&6 +echo "$ac_t""Alliance TOP is "$TOP"/"$MACHINE"" 1>&6 DATE=`date` @@ -3337,8 +3575,7 @@ DATE=`date` HOST=`uname -a` -# create the -cp machine.mk.in $MACHINE.mk.in +# create output files trap '' 1 2 15 cat > confcache <<\EOF @@ -3363,7 +3600,7 @@ EOF # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | - case `(ac_space=' '; set) 2>&1` in + case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). @@ -3442,7 +3679,7 @@ do echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.12" + echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; @@ -3452,7 +3689,7 @@ done ac_given_srcdir=$srcdir -trap 'rm -fr `echo "$MACHINE.mk alc_env.sh alc_env.csh" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "alliance_os.mk alc_env.sh alc_env.csh" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF $ac_vpsub $extrasub +s%@SHELL@%$SHELL%g s%@CFLAGS@%$CFLAGS%g s%@CPPFLAGS@%$CPPFLAGS%g s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g s%@DEFS@%$DEFS%g s%@LDFLAGS@%$LDFLAGS%g s%@LIBS@%$LIBS%g @@ -3484,7 +3723,6 @@ s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@MACHINE@%$MACHINE%g s%@SET_MAKE@%$SET_MAKE%g -s%@ALLIANCE_VERSION@%$ALLIANCE_VERSION%g s%@CC@%$CC%g s%@FULL_CC@%$FULL_CC%g s%@CPP@%$CPP%g @@ -3528,7 +3766,6 @@ s%@RANLIB@%$RANLIB%g s%@RM@%$RM%g s%@SED@%$SED%g s%@SH@%$SH%g -s%@SHELL@%$SHELL%g s%@STRIP@%$STRIP%g s%@TEST@%$TEST%g s%@TOUCH@%$TOUCH%g @@ -3587,7 +3824,7 @@ EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then @@ -3654,6 +3891,8 @@ rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +mv alliance_os.mk $MACHINE.mk + # remove config cache rm -f config.cache diff --git a/alliance/share/etc/configure.in b/alliance/share/etc/configure.in index 30d96f66..04b1a653 100644 --- a/alliance/share/etc/configure.in +++ b/alliance/share/etc/configure.in @@ -1,9 +1,13 @@ -# -*- Mode: Shell-script -*- -# configure.in for Alliance CAD system -# $Id: configure.in,v 1.1 1999/05/31 17:30:30 alliance Exp $ +# ,,, +# (o o) +####=====oOO--(_)--OOO=========================================#### +# +# Alliance CAD system configure.in +# (C) 1997 Czo -- +# $Id: configure.in,v 1.2 1999/08/26 18:47:42 czo Exp $ # -AC_REVISION($Revision: 1.1 $)dnl +AC_REVISION($Revision: 1.2 $)dnl AC_INIT(configure.in) @@ -17,26 +21,40 @@ AC_PREFIX_DEFAULT(/usr/local/alliance) # Which platform for Alliance CAD AC_MSG_CHECKING(for platform) + +# WARNING : if changing this remember to do it on the 3 config files : +# configure.in alc_env.sh.in and alc_env.csh.in +MACHINE=Unknown + case `uname` in + Linux*) case `uname -r` in - 1.*) MACHINE=Linux_aout ;; - *) MACHINE=Linux_elf ;; + 1.*) MACHINE=Linux_aout ;; + 2.0*) MACHINE=Linux_elf ;; + *) MACHINE=Linux ;; esac ;; + SunOS*) case `uname -r` in 5*) MACHINE=Solaris ;; *) MACHINE=SunOS ;; esac ;; + + FreeBSD*) MACHINE=FreeBSD ;; + + HP-UX*) MACHINE=HPUX ;; + + OSF1*) MACHINE=OSF ;; + *) MACHINE=Unknown ;; + esac export MACHINE + AC_MSG_RESULT(Configuring Alliance VLSI CAD System on platform : $MACHINE) AC_SUBST(MACHINE) AC_PROG_MAKE_SET -ALLIANCE_VERSION=3.2b -AC_SUBST(ALLIANCE_VERSION) - ################################################################## Binaries AC_CHECKING(%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries) @@ -137,7 +155,7 @@ AC_PATH_PROG(SH, sh) if test "$SH" != sh ; then SHELL=$SH else - SHELL=/bin/shkvjdkjvdf + SHELL=/bin/sh fi AC_SUBST(SHELL) @@ -311,9 +329,9 @@ AC_STDC_HEADERS ################################################################### Alliance TOP AC_MSG_CHECKING(where the Alliance package was installed) - TOP=`pwd | sed 's/share\/etc$/archi/'` + TOP=`pwd | sed 's,share/etc$,archi,'` export TOP -AC_MSG_RESULT(Alliance TOP is "$TOP") +AC_MSG_RESULT(Alliance TOP is "$TOP"/"$MACHINE") AC_SUBST(TOP) DATE=`date` @@ -322,10 +340,11 @@ AC_SUBST(DATE) HOST=`uname -a` AC_SUBST(HOST) -# create the -cp machine.mk.in $MACHINE.mk.in +# create output files -AC_OUTPUT($MACHINE.mk alc_env.sh alc_env.csh) +AC_OUTPUT(alliance_os.mk alc_env.sh alc_env.csh) + +mv alliance_os.mk $MACHINE.mk # remove config cache rm -f config.cache diff --git a/alliance/share/etc/machine.mk.in b/alliance/share/etc/machine.mk.in deleted file mode 100644 index d9eb5c38..00000000 --- a/alliance/share/etc/machine.mk.in +++ /dev/null @@ -1,74 +0,0 @@ -# -*- Mode: Makefile -*- -# -####---------------------------------------------------------### -# description : Alliance include file for Makefiles -# architecture : @HOST@ -# date : @DATE@ -# file : @MACHINE@.mk -# - -# The variables $TOP and $MACHINE are set by -# alc_env.[c]sh script - -ALLIANCE_VERSION = '"@ALLIANCE_VERSION@"' -ALLIANCE_BIN = $(TOP)/bin -ALLIANCE_LIB = $(TOP)/lib -ALLIANCE_INCLUDE = $(TOP)/include -ALLIANCE_CELLS = $(TOP)/cells -ALLIANCE_ETC = $(TOP)/etc - -# distrib path -TARGET_BIN = $(TOP)/bin -TARGET_LIB = $(TOP)/lib -TARGET_INCLUDE = $(TOP)/include - -# develloppers path -#TARGET_BIN = $(HOME)/labo/$(MACHINE)/bin -#TARGET_LIB = $(HOME)/labo/$(MACHINE)/lib -#TARGET_INCLUDE = $(HOME)/labo/$(MACHINE)/include - -GNU_LIB = @GNU_LIB_LOC@ -GNU_INCLUDE = @GNU_INC_LOC@ - - -X11_LIB = . @X_LIBS@ @X_EXTRA_LIBS@ @X_PRE_LIBS@ -X11_INCLUDE = . @X_CFLAGS@ - -#You may need -lXintl -MOTIF_LIB = @GUI_LIB_LOC@ -MOTIF_INCLUDE = @GUI_INC_LOC@ - -SHELL = @SHELL@ -CSH = @CSH@ -CP = @CP@ -MV = @MV@ -RM = @RM@ -MKDIR = @MKDIR@ -FIND = @FIND@ -SED = @SED@ -AWK = @AWK@ -TR = @TR@ -TOUCH = @TOUCH@ -STRIP = @STRIP@ -RANLIB = @RANLIB@ - -MAKE = @MAKE@ -MAKEFLAGS = @MAKEFLAGS@ - -CC = @FULL_CC@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ - -#CFLAGS = -DALLIANCE_DISTRIB -#CPPFLAGS = -DALLIANCE_DISTRIB - -YACC = @FULL_YACC@ -YACCFLAGS = @YACCFLAGS@ - -LEX = @FULL_LEX@ -LEXFLAGS = @LEXFLAGS@ - -AR = @AR@ -ARFLAGS = @ARFLAGS@ - -# EOF