AUTO_HAS_DRAND48

This commit is contained in:
Olivier Sirol 2000-09-11 15:37:20 +00:00
parent 8d952efe76
commit eb7374b1fb
2 changed files with 278 additions and 470 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,10 +4,10 @@
#
# Alliance CAD system configure.in
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $Id: configure.in,v 1.12 2000/09/11 14:39:18 czo Exp $
# $Id: configure.in,v 1.13 2000/09/11 15:37:20 czo Exp $
#
AC_REVISION($Revision: 1.12 $)dnl
AC_REVISION($Revision: 1.13 $)dnl
AC_INIT(configure.in)
@ -374,7 +374,7 @@ CFLAGS=$OLD_CFLAGS
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"
AC_MSG_CHECKING(for location of GNU includes)
AC_MSG_CHECKING(for location of GNU readline include)
GNU_INC_LOC=
# echo $gnu_includes
for try in $gnu_includes; do
@ -436,12 +436,21 @@ sigaction( SIGCHLD, &sgct , NULL );],
AC_MSG_RESULT(yes); AUTO_HAS="$AUTO_HAS -DAUTO_HAS_SA_RESTART",
AC_MSG_RESULT(no))
AC_MSG_CHECKING(DRAND48)
AC_TRY_LINK([#include <stdio.h>
#include <stdlib.h>],
[ double Proba;
Proba = drand48();],
AC_MSG_RESULT(yes); AUTO_HAS="$AUTO_HAS -DAUTO_HAS_DRAND48",
AC_MSG_RESULT(no))
AC_SUBST(AUTO_HAS)
################################################################### Alliance ALLIANCE_TOP
AC_MSG_CHECKING(where the Alliance package was installed)
ALLIANCE_TOP=`pwd | sed 's,share/etc$,archi,'`
export ALLIANCE_TOP
ALLIANCE_TOP=`pwd | sed 's,share/etc$,archi,'`
export ALLIANCE_TOP
AC_MSG_RESULT(" : $ALLIANCE_TOP")
AC_SUBST(ALLIANCE_TOP)
DATE=`date`