configure.in 14.3 KB
Newer Older
eg's avatar
eg committed
1 2 3 4
dnl configure.in for STklos
dnl
dnl           Author: Erick Gallesio [eg@unice.fr]
dnl    Creation date: 28-Dec-1999 21:19 (eg)
Erick's avatar
Erick committed
5
dnl Last file update:  3-May-2008 22:42 (eg)
eg's avatar
eg committed
6 7 8 9


AC_INIT(src/stklos.c)
AC_PREREQ(2.52)
Erick's avatar
Erick committed
10
AM_INIT_AUTOMAKE(stklos, 0.98)
eg's avatar
eg committed
11 12 13
AM_CONFIG_HEADER(src/stklosconf.h)
AC_PROG_MAKE_SET

Erick Gallesio's avatar
.  
Erick Gallesio committed
14
USER_CFLAGS=$CFLAGS
eg's avatar
eg committed
15 16 17 18 19

dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_RANLIB
20

eg's avatar
eg committed
21 22
dnl AC_PROG_LIBTOOL

23

eg's avatar
eg committed
24 25 26 27 28 29 30 31 32 33 34
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/time.h unistd.h)

export CC


dnl Initialize prefix
if test X$prefix = XNONE ;then  prefix=$ac_default_prefix; fi

dnl use -O3 if user has not specified something else and we are using GCC
Erick Gallesio's avatar
.  
Erick Gallesio committed
35
if test "X$USER_CFLAGS" = "X" -a "$CC" = "gcc"
eg's avatar
eg committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
then
  CFLAGS="-O3 -fomit-frame-pointer"
fi

dnl
dnl Checks for libraries.
dnl

dnl Check for dynamic loading
AC_CHECK_FUNC(dlopen, HAVE_DLOPEN="yes", AC_CHECK_LIB(dl, dlopen, LIBS="-ldl $LIBS"&&HAVE_DLOPEN="yes"))

if test "X$HAVE_DLOPEN" = "Xyes"
then
  HAVE_DLOPEN="#define HAVE_DLOPEN 1"
fi

52 53 54
dnl
dnl To thread or not to thread ?
dnl
55 56
AC_CHECK_LIB(pthread, pthread_create, deflt_threads=pthreads, deflt_threads=none)

57 58 59
AC_ARG_ENABLE(threads,
  [AC_HELP_STRING([--enable-threads=TYPE], [choose threading package (none,pthread,lurc)])],
  THREADS=$enableval,
60
  THREADS=$deflt_threads)
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

AC_LANG(C)
dnl This checks for the presence of a given CPP define in a fiven header file
AC_DEFUN(GC_CHECK_DEFINE, [
 dnl $1: header file
 dnl $2: CPP variable
 dnl $3: then
 dnl $4: else
 AC_PREPROC_IFELSE([
 #include <$1>
 #ifndef $2
 # error "$2 undefined"
 #else
  ok
 #endif
 ],
 [$3], [$4])
])

80

81 82 83 84
dnl Now look at what threads we want
case "$THREADS" in
 no | none | single)
   THREADS=none
Erick Gallesio's avatar
Erick Gallesio committed
85
   CALLCC_STK='"callcc.stk"'
86 87 88 89 90 91 92
   AC_DEFINE(THREADS_NONE, [], [No thread support])
   ;;
 posix | pthreads)
   dnl Check for pthreads
   AC_CHECK_LIB(pthread, pthread_create, LIBS="-lpthread $LIBS", 
                [AC_MSG_ERROR([Missing PThread library])])
   THREADS=pthreads
Erick Gallesio's avatar
Erick Gallesio committed
93
   CALLCC_STK='"callcc.stk"'
94 95 96 97 98 99 100 101 102 103 104 105 106 107
   AC_DEFINE(THREADS_PTHREADS, [], [PThread support])
   ;;
 lurc)
   dnl Check for lurc
   AC_CHECK_LIB(lurc, lurc_thread_create, LIBS="-llurc $LIBS", 
                [AC_MSG_ERROR([Missing LURC library])])
   AC_CHECK_HEADER([lurc.h], [], [AC_MSG_ERROR([Missing LURC header file])])
   dnl Now check if it is compiled with GC support
   AC_MSG_CHECKING([for LURC GC support])
   GC_CHECK_DEFINE([lurc.h], [LURC_ENABLE_GC], 
                   [AC_MSG_RESULT([ok])],
                   [AC_MSG_ERROR([Missing GC support in LURC])])
   dnl That should be good
   AC_DEFINE(THREADS_LURC, [], [LURC threads support])
Erick Gallesio's avatar
Erick Gallesio committed
108
   CALLCC_STK='"dyn-wind-lurc.stk"'
109 110 111 112 113
   ;;
 *)
   AC_MSG_ERROR([Unknown thread system: $THREADS])
   ;;
esac
114 115 116 117

dnl Add the options _REENTRANT and GC_LINUX_THREADS if we are on Linux
case "$THREADS" in
  none) true ;;
118
  lurc) true ;;
119
  *) case `uname -s` in
120
        Linux*) STKCFLAGS="-D_REENTRANT=1 -DGC_LINUX_THREADS=1";;
121 122 123 124 125
     esac
esac



126 127 128 129
dnl Automake nightmare
AM_CONDITIONAL(PTHREADS, test "$THREADS" = pthreads)
AM_CONDITIONAL(LURC, test "$THREADS" = lurc)
AM_CONDITIONAL(NO_THREAD, test "$THREADS" = none)
eg's avatar
eg committed
130 131 132 133 134 135 136 137 138 139 140

dnl check for GMP pre-version 3.0
AC_CHECK_LIB(gmp, mpz_init_set, HAVE_GMP="yes", HAVE_GMP="no")

dnl check for GMP version post 3.0
if test "$HAVE_GMP" = "no" ;then
  AC_CHECK_LIB(gmp, __gmpz_init_set, HAVE_GMP="yes", HAVE_GMP="no")
fi


# Eventually force our gmp usage
141
withval=""
eg's avatar
eg committed
142
AC_ARG_WITH(gmp-light,
143 144 145 146 147 148 149 150
	[  --with-gmp-light		use our GMP version even the system provides one])

case $withval in
  "yes") HAVE_GMP="no";;
  "no")  HAVE_GMP="yes";;
esac


eg's avatar
eg committed
151 152 153 154

dnl
dnl check for GC
dnl
155 156 157 158 159 160 161
if test "$THREADS" = lurc
then
  AC_MSG_WARN([Using the bundled GC for LURC support])
  HAVE_GC="no"
else
  AC_CHECK_LIB(gc, GC_malloc, HAVE_GC="yes", HAVE_GC="no", $LIBS)
fi
eg's avatar
eg committed
162 163

# Test if the user want to force with our GC
164
withval=""
eg's avatar
eg committed
165
AC_ARG_WITH(provided-gc,
166 167 168 169 170 171
       [  --with-provided-gc		use our GC version even the system provides one])

case $withval in
  "yes") HAVE_GC="no";;
  "no")  HAVE_GC="yes";;
esac
eg's avatar
eg committed
172

173
# On Mac OS X use the given GC (to compile it without -Ox)
eg's avatar
eg committed
174 175 176 177 178 179 180 181 182 183 184 185 186
case `uname -s` in
  Darwin*) echo "Force '--with-provided-gc' on MacOS";
           HAVE_GC="no" ;;
  *) true;;
esac


dnl
dnl check for PCRE
dnl
AC_CHECK_LIB(pcre, pcre_fullinfo, HAVE_PCRE="yes", HAVE_PCRE="no", $LIBS)

# Test if the user want to force with our PCRE lib
187
withval=""
eg's avatar
eg committed
188
AC_ARG_WITH(provided-regexp,
189 190 191 192 193 194
       [  --with-provided-regexp	use our PCRE regexp version])

case $withval in
  "yes") HAVE_PCRE="no";;
  "no")  HAVE_PCRE="yes";;
esac
eg's avatar
eg committed
195 196 197 198 199 200 201 202 203 204


dnl
dnl check for LDAP library
dnl
USE_LDAP="no"
LDAP_LIB=""

AC_ARG_ENABLE(ldap, 
     [  --enable-ldap			enable ldap],
205
     USE_LDAP="$enableval")
eg's avatar
eg committed
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320

if test "$USE_LDAP" = "yes" ;then
   AC_CHECK_HEADERS(ldap.h, USE_LDAP=yes, USE_LDAP=false)

   AC_CHECK_LIB(lber, 
	     ber_alloc, 
	     LDAP_LIB="-lldap -llber",
	     AC_CHECK_LIB(ldap, 
		          ldap_simple_bind,
			  LDAP_LIB="-lldap",
			  USE_LDAP="no")
   )
fi

if test "$USE_LDAP" = "yes" ;then
  HAVE_LDAP=define
else 
  HAVE_LDAP=undef
fi

# AC_CHECK_LIB(ldap, ldap_simple_bind, 
# 		   HAVE_LDAP="define" && LDAP_LIB="-lldap",
# 		   HAVE_LDAP="undef" && LDAP_LIB="")



dnl
dnl GTK support
dnl
AC_ARG_ENABLE(gtk, 
      [  --disable-gtk			disable gtk support],
      USE_GTK="no", USE_GTK="yes")

AC_PATH_PROG(GTK_CONFIG, gtk-config, "no")
   
AC_ARG_WITH(gtk-config,
       [  --with-gtk-config=<path>	full pathname of gtk-config script],
       GTK_CONFIG=$withval)

if test "$GTK_CONFIG" = "no" ;then
  USE_GTK=no
fi


dnl
dnl GNOME support
dnl
AC_ARG_ENABLE(gnome,
	[  --disable-gnome		disable gnome support],
	USE_GNOME="no", USE_GNOME="yes")


AC_PATH_PROG(GNOME_CONFIG, gnome-config, "no")

AC_ARG_WITH(gnome-config,
       [  --with-gnome-config=<path>	full pathname of gnome-config script],
       GNOME_CONFIG=$withval)

if test "$GNOME_CONFIG" = "no" ;then
  USE_GNOME=no
fi

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_C_BIGENDIAN
AC_CHECK_SIZEOF(long)


dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_CHECK_FUNCS(getcwd getwd  putenv rmdir strstr  strtod strtol strtoul uname glob)



dnl
dnl See if we have GNU getopt_long or provide a replacement
dnl
##AC_CHECK_FUNCS(getopt_long, ,NEED_GETOPT=1)
##
##if test x$NEED_GETOPT = x1
##then
##  echo "=== No getopt_long. Using replacement function"
##  COMPSRC="$COMPSRC getopt.c getopt1.c"
##  COMPOBJ="$COMPOBJ getopt.o getopt1.o"
##fi


dnl
dnl See in what direction the stack grows (code stolen from Sawfish)
dnl 
AC_TRY_RUN([ void inner (char *foo) { char bar; exit (!(foo >= &bar)); }
	     void main () { char foo; inner (&foo); } ],
   [STACK_DIRECTION="DOWN"],
   [STACK_DIRECTION="UP"], 
   echo "Stack direction is not detected when cros compiling for now")




dnl #### AC_CHECK_HEADER(dlfcn.h, [AC_DEFINE(HAVE_DLFCN_H)])
dnl #### AC_CHECK_HEADER(dl.h, [AC_DEFINE(HAVE_DL_H)])
dnl #### dl_ok=no
dnl #### AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_DLOPEN) dl_ok=dl],
dnl ####     AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_DLOPEN) dl_ok=dl]))
dnl #### AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD) dl_ok=shl],
dnl ####     AC_CHECK_LIB(dld, shl_load, [AC_DEFINE(HAVE_DLOPEN) dl_ok=shl]))
dnl #### 
dnl #### if test $dl_ok != no; then
dnl ####   AC_DEFINE(HAVE_DYNAMIC_LOADING)
dnl #### else
dnl ####   AC_MSG_ERROR([can't figure out how to do dynamic loading])
dnl #### fi


dnl configure libraries
321 322


eg's avatar
eg committed
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
if test "$HAVE_GMP" = "no"
then 
  echo "No GMP library. Using the one provided with the package"
  cmd="CC=\"$CC\" CFLAGS=\"$CFLAGS\" ./configure --prefix=$prefix"
  echo "Configuring GMP"	
  echo $cmd		
  (cd gmp; eval $cmd)
  GMP=gmp
  GMPLIB="../gmp/libgmp.a"
  GMPINC="-I../gmp"
else
  echo "Using the system GMP library"
  GMP=""
  GMPLIB="-lgmp"
  GMPINC=""
fi

if test "$HAVE_GC" = "no"
then
  echo "No Boehm-Demers-Weiser GC library. Using the one provided with the package"
343
  (cd gc; CC="$CC" CFLAGS="$CFLAGS" sh ./configure --prefix=$prefix \
344
          --includedir=$prefix/include/stklos \
345 346
          --enable-threads=$THREADS) || { echo "Cannot configure the GC"; exit; }
  
eg's avatar
eg committed
347 348
  GC=gc
  GCLIB="../gc/.libs/libgc.a"
349
  GCINC="-I../gc/include"
eg's avatar
eg committed
350 351 352 353 354 355
  # Eventually add a distclean target to the GC Makefile
else
  echo "Using the system Boehm-Demers-Weiser library"
  GC=""
  GCLIB="-lgc"
  GCINC=""
separdau's avatar
separdau committed
356
  AC_DEFINE(HAVE_GC, [], [Use system GC])
eg's avatar
eg committed
357 358 359 360 361 362 363 364 365
fi

if test "$HAVE_PCRE" = "no"
then 
   echo "No PCRE library. Using the one provided with the package"
   PCRE_FLAGS="-Dregexec=PCRE_regexec -Dregcomp=PCRE_regcomp \
   -Dregerror=PCRE_regerror -Dregfree=PCRE_regfree"

   (cd pcre; CC=$CC CFLAGS="$CFLAGS $PCRE_FLAGS" sh ./configure \
366
    --prefix=$prefix --disable-shared --disable-cpp)
eg's avatar
eg committed
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
    PCRE=pcre
    PCRELIB="../pcre/.libs/libpcreposix.a ../pcre/.libs/libpcre.a"
    PCREINC="-I../pcre"
    DEF_PCRE=""
else 
      echo "Using the system PCRE library"
     PCRE=""
     PCRELIB="-lpcre -lpcreposix"
     PCREINC=""
     DEF_PCRE="#define HAVE_PCRE 1"
fi


#PCRELIBS="../pcre/.libs/libpcreposix.a ../pcre/.libs/libpcre.a"
#
# case `uname -s` in
#   CYGWIN*) PCRETARGET="libpcre.la";;
#   *)       PCRETARGET="libpcre.la libpcreposix.la";;
# esac

387

388 389 390 391 392 393 394 395

dnl
dnl FFI support 
dnl
AC_ARG_ENABLE(ffi, 
      [  --disable-ffi			disable FFI support],
      USER_FFI="no", USER_FFI="yes")

396 397 398 399 400 401 402 403
if test "$USER_FFI" = "yes" ;then
  echo "Configuring libffi"
  (cd ffi; CC=${CC} CFLAGS=${CFLAGS} ./configure \
           --disable-structs --disable-raw-api --disable-shared \
	   --prefix=$prefix)
  LIBS="$LIBS ../ffi/.libs/libffi.a"
  CFLAGS="$CFLAGS -I../ffi/include"
  LIBFFI="ffi"
404 405
  HAVE_FFI="#define HAVE_FFI 1"
  FFI="yes"
406
else
407
  echo "Disabling FFI support"
408
  LIBFFI=""
409 410
  HAVE_FFI=""
  FFI="no"
411 412
fi

eg's avatar
eg committed
413 414 415 416 417 418 419 420 421 422 423

dnl ======================================================================
dnl Various stuff done by hand
dnl ======================================================================


dnl Determine the options necessary for dynamic loading
eval `CC=$CC /bin/sh ./utils/shlib-options`

case $OS in
  SUNOS) 
424
    CFLAGS="$CFLAGS -DSOLARIS";
eg's avatar
eg committed
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508
    LIBS="$LIBS -lsocket -lrt -lnsl -lpthread" ;;
  UNKNOWN)
    echo ""
    echo "**** STklos has no support for your system (`uname -s`)"
    echo "**** Please modify the script \"utils/shlib-options\" to add"
    echo "**** support for your system (it's easy) and restart installation process."
    echo "**** Thanks for sending your modifications to <bugs _at_ stklos.net>"
    exit 1 ;;
esac


dnl Initilize the extra conf file in src
SCMDIR=$prefix/share/$PACKAGE/$VERSION
EXECDIR=$prefix/lib/$PACKAGE/$VERSION
PREFIX=$prefix

dnl Determine the kind of the machine which is running this script
BUILD_OS=$os-$version
BUILD_ARCH=`uname -m`
OS_NAME=$OS

dnl Place version number in VERSION file
dnl echo "VERSION=${VERSION}">VERSION

dnl GTK+/GNOME support
HAVE_GNOME="undef"

if test "$USE_GTK" = "no" ;then
   USE_GNOME="no"
fi


if test "$USE_GTK" = "yes"
then
  GTKLOS=gtklos	
  EXAMPLES="examples examples/images"

  if test "$USE_GNOME" = "yes"
  then
    HAVE_GNOME="define"
    GTK_CONFIG_LIBS=`$GNOME_CONFIG --libs  gnomecanvaspixbuf`
    GTK_CONFIG_CFLAGS=`$GNOME_CONFIG --cflags gnomeui gnomecanvaspixbuf`
  else
    GTK_CONFIG_LIBS=`$GTK_CONFIG --libs`
    GTK_CONFIG_CFLAGS=`$GTK_CONFIG --cflags`
  fi
else
  GTKLOS=
  EXAMPLES=
  GTK_CONFIG_LIBS=
  GTK_CONFIG_CFLAGS=
fi

dnl
dnl display some informations for the user
dnl 

if test "$HAVE_GMP" = "no"
then
  biglib="compile provided library (better perf. can be achieved with a recent GMP)"
else 
  biglib="use the system library"
fi

if test "$HAVE_GC" = "no"
then
  gclib="compile provided library"
else 
  gclib="use the system library"
fi

if test "$HAVE_PCRE" = "no"
then
  pcrelib="compile provided library"
else
  pcrelib="use the system library"
fi

# Compute SVN_URL 
SVN_URL=$SVN_REPOSITORY
if test "$SVN_REPOSITORY" = "" ;then
   SVN_URL="NOT_AVAILABLE"
fi

509 510 511 512 513 514 515
# LURC adjustment
LURCDIR=""
if test "$THREADS" = "lurc" ;then
   LURCDIR=Lurc.d
fi


eg's avatar
eg committed
516 517

dnl Output files 
518
AC_SUBST(STKCFLAGS)
eg's avatar
eg committed
519 520
AC_SUBST(VERSION)
AC_SUBST(HAVE_DLOPEN)
521
AC_SUBST(HAVE_FFI)
eg's avatar
eg committed
522 523 524
AC_SUBST(OS_FLAVOUR)
AC_SUBST(GC)
AC_SUBST(GCLIB)
525
AC_SUBST(GCINC)
eg's avatar
eg committed
526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555
AC_SUBST(GMP)
AC_SUBST(GMPLIB)
AC_SUBST(GMPINC)
AC_SUBST(PREFIX)
AC_SUBST(SCMDIR)
AC_SUBST(EXECDIR)
AC_SUBST(BUILD_OS)
AC_SUBST(BUILD_ARCH)
AC_SUBST(OS_NAME)
AC_SUBST(SH_COMP_FLAGS)
AC_SUBST(SH_LOAD_FLAGS)
AC_SUBST(SH_LOADER)
AC_SUBST(SH_SUFFIX)
AC_SUBST(SH_MAIN_LOAD_FLAGS)
AC_SUBST(COMPOBJ)
AC_SUBST(COMPSRC)
AC_SUBST(STACK_DIRECTION)
AC_SUBST(GTKLOS)
AC_SUBST(GTK_CONFIG_LIBS)
AC_SUBST(GTK_CONFIG_CFLAGS)
AC_SUBST(EXAMPLES)
AC_SUBST(HAVE_GNOME)
AC_SUBST(HAVE_LDAP)
AC_SUBST(LDAP_LIB)
AC_SUBST(PCRETARGET)
AC_SUBST(PCRE)
AC_SUBST(PCRELIB)
AC_SUBST(PCREINC)
AC_SUBST(DEF_PCRE)
AC_SUBST(SVN_URL)
556 557
AC_SUBST(THREADS)
AC_SUBST(LURCDIR)
separdau's avatar
separdau committed
558
AC_SUBST(CALLCC_STK)
559
AC_SUBST(LIBFFI)
eg's avatar
eg committed
560 561 562
	
AC_OUTPUT(Makefile src/Makefile src/extraconf.h doc/Makefile
          lib/Makefile gtklos/Makefile gtklos/gtklosconf.h
563
	  utils/Makefile lib/boot-callcc.stk
eg's avatar
eg committed
564 565 566
	  utils/stklos-config utils/stklos-script
	  extensions/Makefile examples/Makefile
	  examples/images/Makefile lib/Match.d/Makefile 
567
	  lib/SILex.d/Makefile lib/Lalr.d/Makefile lib/Lurc.d/Makefile
Erick Gallesio's avatar
Erick Gallesio committed
568
	  lib/ScmPkg.d/Makefile
eg's avatar
eg committed
569 570
	  tests/Makefile extensions/extconf.h 
	  doc/stklos.1 doc/stklos-config.1 doc/stklos-compile.1 
571
	  doc/stklos-genlex.1 doc/stklos-install.1 doc/stklos-pkg.1 
572
	  doc/skb/stklos-version.stk
Erick Gallesio's avatar
Erick Gallesio committed
573
	  pkgman/Makefile)
eg's avatar
eg committed
574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591

chmod 0755 utils/stklos-config utils/stklos-script

echo " "
echo " "
echo "SUMMARY"
echo "*******"
echo "            System: " $BUILD_OS
echo "           OS type: " $OS_FLAVOUR
echo "   Install prefix : " $prefix
echo "        C compiler: " $CC
echo " Compilation flags: " $CFLAGS
echo "    Bignum library: " $biglib
echo "    Regexp library: " $pcrelib
echo "        GC library: " $gclib
echo "      LDAP support: " $USE_LDAP
echo "      GTK+ support: " $USE_GTK 
echo "     GNOME support: " $USE_GNOME 
592
echo "       FFI support: " $FFI
593
echo "    Thread support: " $THREADS 
eg's avatar
eg committed
594
echo " "
595 596 597 598 599 600 601 602 603 604
if test "$THREADS" = "lurc" 
then 
     echo "*** WARNING: To use LURC threads, you need to replace (or install) "
     echo "*** a special GC package (available at http://www.stklos.net/download)."
     echo "*** You have to: "
     echo "***    - Remove the current gc directory"
     echo "***    - untar this package in this directory."
     echo "***    - re-run configure"
     echo "*** The GC for LURC probably doesn't work on MacOS 10.5"
fi
eg's avatar
eg committed
605 606 607
echo "If this is correct, you can just type 'make' now at your shell prompt."
echo "Otherwise, re-run 'configure' with correct options." 
echo " "