home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume39 / rperf / part01 / configure < prev    next >
Encoding:
Text File  |  1993-08-30  |  14.7 KB  |  631 lines

  1. #!/bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf.
  4. # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create]
  21. #        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE] [TARGET]
  22. # Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and
  23. # --with-PACKAGE unless this script has special code to handle it.
  24.  
  25.  
  26. for arg
  27. do
  28.   # Handle --exec-prefix with a space before the argument.
  29.   if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  30.   # Handle --host with a space before the argument.
  31.   elif test x$next_host = xyes; then next_host=
  32.   # Handle --prefix with a space before the argument.
  33.   elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  34.   # Handle --srcdir with a space before the argument.
  35.   elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  36.   else
  37.     case $arg in
  38.      # For backward compatibility, also recognize exact --exec_prefix.
  39.      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  40.     exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  41.      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  42.     next_exec_prefix=yes ;;
  43.  
  44.      -gas | --gas | --ga | --g) ;;
  45.  
  46.      -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  47.      -host | --host | --hos | --ho | --h)
  48.     next_host=yes ;;
  49.  
  50.      -nfp | --nfp | --nf) ;;
  51.  
  52.      -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no)
  53.         no_create=1 ;;
  54.  
  55.      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  56.     prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  57.      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  58.     next_prefix=yes ;;
  59.  
  60.      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  61.     srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  62.      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  63.     next_srcdir=yes ;;
  64.  
  65.      -with-* | --with-*)
  66.        package=`echo $arg|sed 's/-*with-//'`
  67.        # Delete all the valid chars; see if any are left.
  68.        if test -n "`echo $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then
  69.          echo "configure: $package: invalid package name" >&2; exit 1
  70.        fi
  71.        eval "with_`echo $package|sed s/-/_/g`=1" ;;
  72.  
  73.      *) ;;
  74.     esac
  75.   fi
  76. done
  77.  
  78. trap 'rm -f conftest* core; exit 1' 1 3 15
  79.  
  80. rm -f conftest*
  81. compile='${CC-cc} $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  82.  
  83. # A filename unique to this package, relative to the directory that
  84. # configure is in, which we can look for to find out if srcdir is correct.
  85. unique_file=configure.in
  86.  
  87. # Find the source files, if location was not specified.
  88. if test -z "$srcdir"; then
  89.   srcdirdefaulted=yes
  90.   # Try the directory containing this script, then `..'.
  91.   prog=$0
  92.   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  93.   test "X$confdir" = "X$prog" && confdir=.
  94.   srcdir=$confdir
  95.   if test ! -r $srcdir/$unique_file; then
  96.     srcdir=..
  97.   fi
  98. fi
  99. if test ! -r $srcdir/$unique_file; then
  100.   if test x$srcdirdefaulted = xyes; then
  101.     echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  102.   else
  103.     echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  104.   fi
  105.   exit 1
  106. fi
  107. # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  108. # But we can't avoid them for `..', to make subdirectories work.
  109. case $srcdir in
  110.   .|/*|~*) ;;
  111.   *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  112. esac
  113.  
  114.  
  115. # configure.in for rperf
  116. #
  117. # This program may be copied, redistributed in any form, source or 
  118. # binary, and used for any purpose, provided this copyright notice is 
  119. # retained. 
  120. #    @(#)configure.in    2.1 8/30/93 (c) Copyright Brian P. Fitzgerald 
  121. #    Rensselaer Polytechnic Institute 
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. if test -z "$CC"; then
  130.   echo checking for gcc
  131.   saveifs="$IFS"; IFS="${IFS}:"
  132.   for dir in $PATH; do
  133.     test -z "$dir" && dir=.
  134.     if test -f $dir/gcc; then
  135.       CC="gcc"
  136.       break
  137.     fi
  138.   done
  139.   IFS="$saveifs"
  140. fi
  141. test -z "$CC" && CC="cc"
  142.  
  143. # Find out if we are using GNU C, under whatever name.
  144. cat > conftest.c <<EOF
  145. #ifdef __GNUC__
  146.   yes
  147. #endif
  148. EOF
  149. ${CC-cc} -E conftest.c > conftest.out 2>&1
  150. if egrep yes conftest.out >/dev/null 2>&1; then
  151.   GCC=1 # For later tests.
  152. fi
  153. rm -f conftest*
  154.  
  155. gccv1=`${CC-cc} -v  2>&1 | grep 'gcc version 1'`
  156. if test -n "$gccv1" ; then
  157.     echo "Caution:  $gccv1 detected."
  158.     echo "Some system library objects may be incompatible."
  159.     echo "Using cc"
  160.     CC=cc
  161. fi
  162. echo checking how to run the C preprocessor
  163. if test -z "$CPP"; then
  164.   CPP='${CC-cc} -E'
  165.   cat > conftest.c <<EOF
  166. #include <stdio.h>
  167. EOF
  168. err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"`
  169. if test -z "$err"; then
  170.   :
  171. else
  172.   CPP=/lib/cpp
  173. fi
  174. rm -f conftest*
  175. fi
  176.  
  177. if test -z "$RANLIB"; then
  178.   echo checking for ranlib
  179.   saveifs="$IFS"; IFS="${IFS}:"
  180.   for dir in $PATH; do
  181.     test -z "$dir" && dir=.
  182.     if test -f $dir/ranlib; then
  183.       RANLIB="ranlib"
  184.       break
  185.     fi
  186.   done
  187.   IFS="$saveifs"
  188. fi
  189. test -z "$RANLIB" && RANLIB="@:"
  190.  
  191. echo checking for AIX
  192. cat > conftest.c <<EOF
  193. #ifdef _AIX
  194.   yes
  195. #endif
  196.  
  197. EOF
  198. eval "$CPP $DEFS conftest.c > conftest.out 2>&1"
  199. if egrep "yes" conftest.out >/dev/null 2>&1; then
  200.   DEFS="$DEFS -D_ALL_SOURCE=1"
  201. fi
  202. rm -f conftest*
  203.  
  204.  
  205. echo checking for minix/config.h
  206. cat > conftest.c <<EOF
  207. #include <minix/config.h>
  208. EOF
  209. err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"`
  210. if test -z "$err"; then
  211.   MINIX=1
  212. fi
  213. rm -f conftest*
  214.  
  215. # The Minix shell can't assign to the same variable on the same line!
  216. if test -n "$MINIX"; then
  217.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  218.   DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  219.   DEFS="$DEFS -D_MINIX=1"
  220. fi
  221.  
  222. echo checking for SCO UNIX libintl
  223. cat > conftest.c <<EOF
  224. #if defined(M_UNIX)
  225.   yes
  226. #endif
  227.  
  228. EOF
  229. eval "$CPP $DEFS conftest.c > conftest.out 2>&1"
  230. if egrep "yes" conftest.out >/dev/null 2>&1; then
  231.   SCO_UNIX=1
  232. fi
  233. rm -f conftest*
  234.  
  235. test -n "$SCO_UNIX" && test -f /lib/libintl.a &&
  236.   LIBS="$LIBS -lintl" # For strftime.
  237.  
  238. echo checking for POSIXized ISC
  239. if test -d /etc/conf/kconfig.d &&
  240.   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  241. then
  242.   ISC=1 # If later tests want to check for ISC.
  243.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  244.   if test -n "$GCC"; then
  245.     CC="$CC -posix"
  246.   else
  247.     CC="$CC -Xp"
  248.   fi
  249. fi
  250.  
  251. echo checking for ANSI C header files
  252. cat > conftest.c <<EOF
  253. #include <stdlib.h>
  254. #include <stdarg.h>
  255. #include <string.h>
  256. #include <float.h>
  257. EOF
  258. err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"`
  259. if test -z "$err"; then
  260.   # SunOS string.h does not declare mem*, contrary to ANSI.
  261. echo '#include <string.h>' > conftest.c
  262. eval "$CPP $DEFS conftest.c > conftest.out 2>&1"
  263. if egrep "memchr" conftest.out >/dev/null 2>&1; then
  264.   # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  265. cat > conftest.c <<EOF
  266. #include <ctype.h>
  267. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  268. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  269. #define XOR(e,f) (((e) && !(f)) || (!(e) && (f)))
  270. int main () { int i; for (i = 0; i < 256; i++)
  271. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  272. exit (0); }
  273.  
  274. EOF
  275. eval $compile
  276. if test -s conftest && (./conftest; exit) 2>/dev/null; then
  277.   DEFS="$DEFS -DSTDC_HEADERS=1"
  278. fi
  279. rm -f conftest*
  280. fi
  281. rm -f conftest*
  282.  
  283. fi
  284. rm -f conftest*
  285.  
  286.  
  287. echo checking for return type of signal handlers
  288. cat > conftest.c <<EOF
  289. #include <sys/types.h>
  290. #include <signal.h>
  291. #ifdef signal
  292. #undef signal
  293. #endif
  294. extern void (*signal ()) ();
  295. main() { exit(0); } 
  296. t() { int i; }
  297. EOF
  298. if eval $compile; then
  299.   DEFS="$DEFS -DRETSIGTYPE=void"
  300. else
  301.   DEFS="$DEFS -DRETSIGTYPE=int"
  302. fi
  303. rm -f conftest*
  304.  
  305.  
  306. echo checking for unistd.h
  307. cat > conftest.c <<EOF
  308. #include <unistd.h>
  309. EOF
  310. err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"`
  311. if test -z "$err"; then
  312.   DEFS="$DEFS -DHAVE_UNISTD_H=1"
  313. fi
  314. rm -f conftest*
  315.  
  316. echo checking for struct tm in time.h
  317. cat > conftest.c <<EOF
  318. #include <sys/types.h>
  319. #include <time.h>
  320. main() { exit(0); } 
  321. t() { struct tm *tp; }
  322. EOF
  323. if eval $compile; then
  324.   :
  325. else
  326.   DEFS="$DEFS -DTM_IN_SYS_TIME=1"
  327. fi
  328. rm -f conftest*
  329.  
  330. decl='#include <sys/types.h>
  331. '
  332. case "$DEFS" in
  333.   *TM_IN_SYS_TIME*) decl="$decl#include <sys/time.h>
  334. " ;;
  335.   *) decl="$decl#include <time.h>
  336. " ;;
  337. esac
  338. echo checking for tm_zone in struct tm
  339. cat > conftest.c <<EOF
  340. $decl
  341. main() { exit(0); } 
  342. t() { struct tm tm; tm.tm_zone; }
  343. EOF
  344. if eval $compile; then
  345.   DEFS="$DEFS -DHAVE_TM_ZONE=1"
  346. else
  347.   no_tm_zone=1
  348. fi
  349. rm -f conftest*
  350.  
  351. if test -n "$no_tm_zone"; then
  352. echo checking for tzname
  353. cat > conftest.c <<EOF
  354. #include <time.h>
  355. #ifndef tzname /* For SGI.  */
  356. changequote(,)dnl
  357. extern char *tzname[]; /* RS6000 and others want it this way.  */
  358. changequote([,])dnl
  359. #endif
  360. main() { exit(0); } 
  361. t() { atoi(*tzname); }
  362. EOF
  363. if eval $compile; then
  364.   DEFS="$DEFS -DHAVE_TZNAME=1"
  365. fi
  366. rm -f conftest*
  367.  
  368. fi
  369.  
  370.  
  371. for hdr in sys/termio.h sys/bsd_tty.h
  372. do
  373. trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  374. echo checking for ${hdr}
  375. cat > conftest.c <<EOF
  376. #include <${hdr}>
  377. EOF
  378. err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"`
  379. if test -z "$err"; then
  380.   DEFS="$DEFS -D${trhdr}=1"
  381. fi
  382. rm -f conftest*
  383. done
  384.  
  385.  
  386. libname=`echo "rpc" | sed 's/lib\([^\.]*\)\.a/\1/;s/-l//'`
  387. LIBS_save="${LIBS}"
  388. LIBS="${LIBS} -l${libname}"
  389. have_lib=""
  390. echo checking for -lrpc
  391. cat > conftest.c <<EOF
  392.  
  393. main() { exit(0); } 
  394. t() { main(); }
  395. EOF
  396. if eval $compile; then
  397.   have_lib="1"
  398. fi
  399. rm -f conftest*
  400. LIBS="${LIBS_save}"
  401. if test -n "${have_lib}"; then
  402.       deflibname=`echo "${libname}" | tr '[a-z]' '[A-Z]'`
  403.       DEFS="$DEFS -DHAVE_LIB${deflibname}=1"
  404.    LIBS="${LIBS} -l${libname}"
  405. fi
  406.  
  407. libname=`echo "inet" | sed 's/lib\([^\.]*\)\.a/\1/;s/-l//'`
  408. LIBS_save="${LIBS}"
  409. LIBS="${LIBS} -l${libname}"
  410. have_lib=""
  411. echo checking for -linet
  412. cat > conftest.c <<EOF
  413.  
  414. main() { exit(0); } 
  415. t() { main(); }
  416. EOF
  417. if eval $compile; then
  418.   have_lib="1"
  419. fi
  420. rm -f conftest*
  421. LIBS="${LIBS_save}"
  422. if test -n "${have_lib}"; then
  423.       deflibname=`echo "${libname}" | tr '[a-z]' '[A-Z]'`
  424.       DEFS="$DEFS -DHAVE_LIB${deflibname}=1"
  425.    LIBS="${LIBS} -l${libname}"
  426. fi
  427.  
  428. libname=`echo "socket" | sed 's/lib\([^\.]*\)\.a/\1/;s/-l//'`
  429. LIBS_save="${LIBS}"
  430. LIBS="${LIBS} -l${libname}"
  431. have_lib=""
  432. echo checking for -lsocket
  433. cat > conftest.c <<EOF
  434.  
  435. main() { exit(0); } 
  436. t() { main(); }
  437. EOF
  438. if eval $compile; then
  439.   have_lib="1"
  440. fi
  441. rm -f conftest*
  442. LIBS="${LIBS_save}"
  443. if test -n "${have_lib}"; then
  444.       deflibname=`echo "${libname}" | tr '[a-z]' '[A-Z]'`
  445.       DEFS="$DEFS -DHAVE_LIB${deflibname}=1"
  446.    LIBS="${LIBS} -l${libname}"
  447. fi
  448.  
  449. libname=`echo "c_s" | sed 's/lib\([^\.]*\)\.a/\1/;s/-l//'`
  450. LIBS_save="${LIBS}"
  451. LIBS="${LIBS} -l${libname}"
  452. have_lib=""
  453. echo checking for -lc_s
  454. cat > conftest.c <<EOF
  455.  
  456. main() { exit(0); } 
  457. t() { main(); }
  458. EOF
  459. if eval $compile; then
  460.   have_lib="1"
  461. fi
  462. rm -f conftest*
  463. LIBS="${LIBS_save}"
  464. if test -n "${have_lib}"; then
  465.       deflibname=`echo "${libname}" | tr '[a-z]' '[A-Z]'`
  466.       DEFS="$DEFS -DHAVE_LIB${deflibname}=1"
  467.    LIBS="${LIBS} -l${libname}"
  468. fi
  469.  
  470. libname=`echo "termcap" | sed 's/lib\([^\.]*\)\.a/\1/;s/-l//'`
  471. LIBS_save="${LIBS}"
  472. LIBS="${LIBS} -l${libname}"
  473. have_lib=""
  474. echo checking for -ltermcap
  475. cat > conftest.c <<EOF
  476.  
  477. main() { exit(0); } 
  478. t() { main(); }
  479. EOF
  480. if eval $compile; then
  481.   have_lib="1"
  482. fi
  483. rm -f conftest*
  484. LIBS="${LIBS_save}"
  485. if test -n "${have_lib}"; then
  486.    :;    DEFS="$DEFS -DHAVE_LIBTERMCAP=1"
  487.    LIBS="${LIBS} -ltermcap"
  488. else
  489.    :; LIBOBJS="$LIBOBJS termcap.o"
  490. fi
  491.  
  492.  
  493. for func in strftime strdup
  494. do
  495. echo checking for ${func}
  496. cat > conftest.c <<EOF
  497.  
  498. main() { exit(0); } 
  499. t() { 
  500. /* Override any gcc2 internal prototype to avoid an error.  */
  501. extern char ${func}(); ${func}(); }
  502. EOF
  503. if eval $compile; then
  504.   :
  505. else
  506.   LIBOBJS="$LIBOBJS ${func}.o"
  507. fi
  508. rm -f conftest*
  509.  
  510. done
  511.  
  512. if test -n "$LIBOBJS" ; then
  513.     LIBC="libc.a"
  514. fi
  515. for func in setlinebuf
  516. do
  517. trfunc=HAVE_`echo $func | tr '[a-z]' '[A-Z]'`
  518. echo checking for ${func}
  519. cat > conftest.c <<EOF
  520. #include <stdio.h>
  521. main() { exit(0); } 
  522. t() { 
  523. #ifdef __stub_${func}
  524. choke me
  525. #else
  526. /* Override any gcc2 internal prototype to avoid an error.  */
  527. extern char ${func}(); ${func}();
  528. #endif
  529.  }
  530. EOF
  531. if eval $compile; then
  532.   DEFS="$DEFS -D${trfunc}=1"
  533. fi
  534. rm -f conftest*
  535. #endif
  536. done
  537.  
  538.  
  539. echo checking for IRIX libsun
  540. if test -f /usr/lib/libsun.a; then
  541.   LIBS="$LIBS -lsun"
  542. fi
  543.     if test -n "$prefix"; then
  544.   test -z "$exec_prefix" && exec_prefix='${prefix}'
  545.   prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  546. fi
  547. if test -n "$exec_prefix"; then
  548.   prsub="$prsub
  549. s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%\
  550. exec_prefix\\1=\\2$exec_prefix%"
  551. fi
  552.  
  553. trap 'rm -f config.status; exit 1' 1 3 15
  554. echo creating config.status
  555. rm -f config.status
  556. cat > config.status <<EOF
  557. #!/bin/sh
  558. # Generated automatically by configure.
  559. # Run this file to recreate the current configuration.
  560. # This directory was configured as follows,
  561. # on host `(hostname || uname -n) 2>/dev/null`:
  562. #
  563. # $0 $*
  564.  
  565. for arg
  566. do
  567.   case "\$arg" in
  568.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  569.     exec /bin/sh $0 $* ;;
  570.     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  571.   esac
  572. done
  573.  
  574. trap 'rm -f Makefile; exit 1' 1 3 15
  575. PROGS='$PROGS'
  576. LIBPROGS='$LIBPROGS'
  577. LIBC='$LIBC'
  578. CLNT_LIBS='$CLNT_LIBS'
  579. CFLAGS='$CFLAGS'
  580. CC='$CC'
  581. CPP='$CPP'
  582. RANLIB='$RANLIB'
  583. LIBOBJS='$LIBOBJS'
  584. LIBS='$LIBS'
  585. srcdir='$srcdir'
  586. DEFS='$DEFS'
  587. prefix='$prefix'
  588. exec_prefix='$exec_prefix'
  589. prsub='$prsub'
  590. EOF
  591. cat >> config.status <<\EOF
  592.  
  593. top_srcdir=$srcdir
  594. for file in .. Makefile; do if [ "x$file" != "x.." ]; then
  595.   srcdir=$top_srcdir
  596.   # Remove last slash and all that follows it.  Not all systems have dirname.
  597.   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  598.   if test "$dir" != "$file"; then
  599.     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  600.     test ! -d $dir && mkdir $dir
  601.   fi
  602.   echo creating $file
  603.   rm -f $file
  604.   echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  605.   sed -e "
  606. $prsub
  607. s%@PROGS@%$PROGS%g
  608. s%@LIBPROGS@%$LIBPROGS%g
  609. s%@LIBC@%$LIBC%g
  610. s%@CLNT_LIBS@%$CLNT_LIBS%g
  611. s%@CFLAGS@%$CFLAGS%g
  612. s%@CC@%$CC%g
  613. s%@CPP@%$CPP%g
  614. s%@RANLIB@%$RANLIB%g
  615. s%@LIBOBJS@%$LIBOBJS%g
  616. s%@LIBS@%$LIBS%g
  617. s%@srcdir@%$srcdir%g
  618. s%@DEFS@%$DEFS%
  619. " $top_srcdir/${file}.in >> $file
  620. fi; done
  621.  
  622. EOF
  623. chmod +x config.status
  624. test -n "$no_create" || ./config.status
  625.  
  626. echo ""
  627. echo "Configuration complete."
  628. echo ""
  629. echo "Now type 'make' to build rperf."
  630.