home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / TKNEW / SUN4C / EXPECT. next >
Encoding:
Text File  |  1998-07-24  |  1.4 KB  |  50 lines

  1. --- configure.rtr    Mon Feb  3 19:08:16 1997
  2. +++ configure    Wed Feb 26 10:22:49 1997
  3. @@ -65,6 +65,8 @@
  4.  # Initialize some other variables.
  5.  subdirs=
  6.  MFLAGS= MAKEFLAGS=
  7. +CC=gcc
  8. +LIBS=-ldl
  9.  # Maximum number of lines to put in a shell here document.
  10.  ac_max_here_lines=12
  11.  
  12. @@ -1050,6 +1052,8 @@
  13.  CFLAGS=$OLD_CFLAGS
  14.  
  15.  # If we cannot compile and link a trivial program, we can't expect anything to work
  16. +echo "${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext" >> foo
  17. +echo "${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS" >> foo
  18.  echo $ac_n "checking whether the compiler ($CC) actually works""... $ac_c" 1>&6
  19.  echo "configure:1055: checking whether the compiler ($CC) actually works" >&5
  20.  cat > conftest.$ac_ext <<EOF
  21. @@ -1080,6 +1084,8 @@
  22.  /* don't need anything here */
  23.  ; return 0; }
  24.  EOF
  25. +cp confdefs.h hold.confdefs.h
  26. +cp conftest.c hold.conftest.c
  27.  if { (eval echo configure:1084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  28.    rm -rf conftest*
  29.    c_links=yes
  30. --- Dbgconfigure.rtr    Fri May  3 16:56:52 1996
  31. +++ Dbgconfigure    Wed Feb 26 09:58:36 1997
  32. @@ -59,6 +59,7 @@
  33.  # Initialize some other variables.
  34.  subdirs=
  35.  MFLAGS= MAKEFLAGS=
  36. +LIBS=-ldl
  37.  
  38.  ac_prev=
  39.  for ac_option
  40. --- testsuite/configure.rtr    Mon Jul  1 11:41:59 1996
  41. +++ testsuite/configure    Wed Feb 26 08:56:56 1997
  42. @@ -53,6 +53,7 @@
  43.  # Initialize some other variables.
  44.  subdirs=
  45.  MFLAGS= MAKEFLAGS=
  46. +LIBS=-ldl
  47.  
  48.  ac_prev=
  49.  for ac_option
  50.