home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / OS2 / MAN11A.ZIP / src / configure < prev    next >
Text File  |  1992-05-07  |  17KB  |  712 lines

  1. :
  2. # Guess values for system-dependant variables and create `Makefile'.
  3. # Copyright (C) 1991 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. # Usage: configure [+srcdir=DIR] [+host=HOST] [+gas] [+nfp] [TARGET]
  20. # All args except +srcdir=DIR are ignored.
  21.  
  22. trap 'rm -f conftest conftest.c uttest; exit 1' 1 3 15
  23.  
  24. set +u # Make sure unset variables are ok.
  25.  
  26. # A filename unique to this package, relative to the directory that
  27. # configure is in, which we can look for to find out if srcdir is correct.
  28. unique_file=./man.c
  29.  
  30. for arg in $*; do
  31.   # Handle +srcdir with a space before the argument.
  32.   if [ x$next_srcdir = xyes ]; then srcdir=$arg; next_srcdir=
  33.   # Handle +host with a space before the argument.
  34.   elif [ x$next_host = xyes ]; then next_host=
  35.   else 
  36.     case $arg in
  37.      -srcdir=* | +srcdir=* | +srcdi=* | +srcd=* | +src=* | +sr=* | +s=*)
  38.     srcdir=`echo $arg | sed 's/[+-]s[a-z]*=//'` ;;
  39.      -srcdir | +srcdir | +srcdi | +srcd | +src | +sr | +s)
  40.     next_srcdir=yes ;;
  41.      -host=* | +host=* | +hos=* | +ho=* | +h=*) ;;
  42.      -host | +host | +hos | +ho | +h)
  43.     next_host=yes ;;
  44.      -gas | +gas | +ga | +g) ;;
  45.      -nfp | +nfp | +nf | +n) ;;
  46.      *) ;;
  47.     esac
  48.   fi
  49. done
  50.  
  51. # Find the source files, if location was not specified.
  52. if [ x$srcdir = x ]; then
  53.   srcdirdefaulted=yes; srcdir=.
  54.   if [ ! -r $unique_file ]; then srcdir=`pwd`/..; fi
  55. fi
  56. if [ $srcdir != . ]; then VPATH='VPATH = $(srcdir)'; fi
  57.  
  58. if [ ! -r $srcdir/$unique_file ]; then
  59.   if [ x$srcdirdefaulted = xyes ]; then
  60.     echo "$0: Can not find sources in \`.' or \`..'." 1>&2
  61.   else
  62.     echo "$0: Can not find sources in \`${srcdir}'." 1>&2
  63.   fi
  64.   exit 1
  65. fi
  66.  
  67. if test "$RANDOM" = "$RANDOM"; then
  68.   # Plain old Bourne shell.
  69.   echo checking for gcc
  70.   test -z "$CC" -a -n "`gcc 2>&1`" && CC="gcc -O"
  71. else
  72.   # ksh, bash or zsh.  ksh and zsh write "command not found" to stderr.
  73.   echo checking for gcc
  74.   test -z "$CC" && type gcc && CC="gcc -O"
  75. fi
  76.  
  77. CC=${CC-cc}
  78. INCLUDEDIR=${INCLUDEDIR-/usr/include}
  79.  
  80. rm -f conftest conftest.c
  81. compile="$CC $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1"
  82.  
  83. # Check for various header files.
  84.  
  85. echo checking for ANSI C header files
  86. echo "#include <stdlib.h>
  87. #include <string.h>
  88. main() { exit(0); strerror(0); }" > conftest.c
  89. eval $compile
  90. if test -s conftest && ./conftest 2>/dev/null; then
  91.   DEFS="$DEFS -DSTDC_HEADERS"
  92. fi
  93. rm -f conftest conftest.c
  94.  
  95. echo checking for POSIX.1 header files
  96. echo "#include <unistd.h>
  97. main() {
  98. #ifdef _POSIX_VERSION
  99. exit(0);
  100. #else
  101. exit(1);
  102. #endif
  103. }" > conftest.c
  104. eval $compile
  105. if test -s conftest && ./conftest 2>/dev/null; then
  106.   DEFS="$DEFS -DPOSIX"
  107. fi
  108. rm -f conftest conftest.c
  109.  
  110. echo checking for BSD string and memory functions
  111. echo "#include <strings.h>
  112. main() { exit(0); rindex(0, 0); bzero(0, 0); }" > conftest.c
  113. eval $compile
  114. if test -s conftest && ./conftest 2>/dev/null; then :
  115.   else DEFS="$DEFS -DUSG"
  116. fi
  117. rm -f conftest conftest.c
  118.  
  119. echo checking whether sys/types.h defines uid_t
  120. echo '#include <sys/types.h>
  121. main() { uid_t x; exit(0); }' > conftest.c
  122. eval $compile
  123. if test -s conftest && ./conftest 2>/dev/null; then :
  124. else
  125.   uid_t=`awk '/pw_uid;/ {print $1}' $INCLUDEDIR/pwd.h`
  126.   DEFS="$DEFS -Duid_t=${uid_t} -Dgid_t=${uid_t}"
  127. fi
  128. rm -f conftest conftest.c
  129.  
  130. # Check whether various functions exist.
  131.  
  132. # Functions we provide replacements for.
  133. for func in strdup
  134. do
  135.   echo checking for $func
  136.   echo "main() { exit(0); } t () { ${func}(); }" > conftest.c
  137.   eval $compile
  138.   if test -s conftest && ./conftest 2>/dev/null; then :
  139.   else LIBOBJS="$LIBOBJS ${func}.o"
  140.   fi
  141.   rm -f conftest conftest.c
  142. done
  143.  
  144. echo checking for Xenix
  145. if test -f /xenix; then
  146.   LIBS="$LIBS -lx"
  147.   case "$DEFS" in
  148.   *SYSNDIR*) ;;
  149.   *) LIBS="-ldir $LIBS" ;; # Make sure -ldir precedes any -lx.
  150.   esac
  151. fi
  152.  
  153. echo checking how to get alloca
  154. echo '
  155. #ifdef __GNUC__
  156. #define alloca __builtin_alloca
  157. #else
  158. #ifdef sparc
  159. #include <alloca.h>
  160. #else
  161. #ifdef _AIX
  162.  #pragma alloca
  163. #else
  164. char *alloca ();
  165. #endif
  166. #endif
  167. #endif
  168. main() { char *p = (char *) alloca(1); exit(0); }' > conftest.c
  169. eval $compile
  170. if test -s conftest && ./conftest 2>/dev/null; then :
  171. elif test -d /usr/ucblib; then LIBS="$LIBS -L/usr/ucblib -lucb"
  172. elif test -f /usr/lib/libPW.a; then LIBS="$LIBS -lPW"
  173. else DEFS="$DEFS -DALLOCA_MISSING"
  174. fi
  175. rm -f conftest conftest.c
  176.  
  177. # first determine how to suppress newline on echo command (stolen from
  178. # Perl's Configure...
  179.  
  180. echo "Checking echo to see how to suppress newlines..."
  181. (echo "hi there\c" ; echo " ") >conftest
  182. if grep c conftest >/dev/null 2>&1 ; then
  183.     echo "...using -n."
  184.     n='-n'
  185.     c=''
  186. else
  187.     cat <<'EOM'
  188. ...using \c
  189. EOM
  190.     n=''
  191.     c='\c'
  192. fi
  193. rm -f conftest
  194. echo $n "Type carriage return to continue.  Your cursor should be here-->$c"
  195. read ans
  196.  
  197. # Ask the installer where various things are located.
  198.  
  199. echo ""
  200. echo $n "Do you have the nroff source for man pages?  [yes] $c"
  201. ok=false
  202. while test "$ok" = "false"
  203. do
  204.   read yesno
  205.   if test "$yesno" = "" || test "$yesno" = "yes"
  206.   then
  207.     ok=true
  208.     ans=true
  209.   elif test "$yesno" = "no"
  210.   then
  211.     ok=true
  212.     ans=false
  213.   else
  214.     ok=false
  215.     echo "You must enter yes or no"
  216.   fi
  217. done
  218.  
  219. if test "$ans" = "false"
  220. then
  221.   troff=""
  222.   nroff=""
  223.   eqn=""
  224.   neqn=""
  225.   tbl=""
  226.   col=""
  227.   vgrind=""
  228.   refer=""
  229.   grap=""
  230.   pic=""
  231.   pager="/usr/local/bin/less -sC"
  232.  
  233.   FILTERS=pager
  234. else
  235.   troff="/usr/local/bin/groff -Tps -man"
  236.   nroff="/usr/local/bin/groff -Tascii -man"
  237.   eqn="/usr/local/bin/geqn -Tps"
  238.   neqn="/usr/local/bin/geqn -Tascii"
  239.   tbl="/usr/local/bin/gtbl"
  240.   col="/usr/bin/col"
  241.   vgrind="/usr/bin/vgrind"
  242.   refer="/usr/bin/refer"
  243.   grap="/usr/bin/grap"
  244.   pic="/usr/local/bin/gpic"
  245.   pager="/usr/local/bin/less -sC"
  246.  
  247.   FILTERS="troff nroff eqn neqn tbl col vgrind refer grap pic pager"
  248. fi
  249.  
  250. echo ""
  251. echo "If you don't have one of the following programs, enter \`missing'."
  252. echo "It's best to enter absolute pathnames so that man won't have to"
  253. echo "depend on the user's path to work properly.  Default values are"
  254. echo "given in square brackets.  The answers given are only checked to"
  255. echo "see if the programs exist, not to see see if the given flags are"
  256. echo "correct."
  257.  
  258. for filter in $FILTERS
  259. do
  260.   found=false
  261.   while test "$found" = "false"
  262.   do
  263.     echo ""
  264.     echo $n "$filter command to use [`eval echo $"$filter"`] $c"
  265.     read tmp
  266.     if test -n "$tmp"
  267.     then
  268.       if test "$tmp" = "missing"
  269.       then
  270.         if test "$filter" = "pager"
  271.         then
  272.           found=false
  273.           echo "You must have a pager!"
  274.         else
  275.           found=true
  276.           eval $filter=""
  277.         fi
  278.       elif test -f `echo $tmp | awk '{print $1}'`
  279.       then
  280.         found=true
  281.         eval $filter=\""$tmp"\"
  282.       else
  283.         found=false
  284.         echo ""
  285.         echo "`echo $tmp | awk '{print $1}'` doesn't seem to exist!  Try again or enter \`missing'"
  286.       fi
  287.     elif test -f `eval echo $"$filter" | awk '{print $1}'`
  288.     then
  289.       found=true
  290.     else
  291.       found=false
  292.       echo ""
  293.       echo "`eval echo $"$filter" | awk '{print $1}'` doesn't seem to exist!  Try again or enter \`missing'"
  294.     fi
  295.   done
  296. done
  297.  
  298. if test -n "$troff"; then DEFS="$DEFS -DHAS_TROFF"; fi
  299. if test "$nroff" = ""; then DEFS="$DEFS -DNROFF_MISSING"; fi
  300.  
  301. # How should man be installed?
  302.  
  303. bindir="/usr/local/bin"
  304. libdir="/usr/local/lib"
  305. mandir="/usr/local/man/man1"
  306.  
  307. for d in bindir libdir mandir
  308. do
  309.   case $d in
  310.     bindir)
  311.       echo ""
  312.       echo $n "where should executables be installed?  [${bindir}] $c" ;;
  313.     libdir)
  314.       echo ""
  315.       echo $n "where should manpath.config be installed?  [${libdir}] $c" ;;
  316.     mandir)
  317.       echo ""
  318.       echo $n "where should man pages be installed? [${mandir}] $c" ;;
  319.   esac
  320.   dir=`eval echo $"$d"`
  321.   ok=false
  322.   while test "$ok" = "false"
  323.   do
  324.     read tmpdir
  325.     if test "$tmpdir" = "" && test "$dir" != ""
  326.     then
  327.       if test -d $dir
  328.       then
  329.         ok=true
  330.         eval $d=$dir
  331.       else
  332.         ok=false
  333.         echo ""
  334.         echo "$dir doesn't seem to exist!  Try again!"
  335.       fi
  336.     elif test -d "$tmpdir"
  337.     then
  338.       ok=true
  339.       eval $d=$tmpdir
  340.     else
  341.       ok=false
  342.       echo ""
  343.       echo "$tmpdir doesn't seem to exist!  Try again!"
  344.     fi
  345.   done
  346. done
  347.  
  348. tmpext=1
  349. echo ""
  350. echo $n "What extension should installed man pages have? [${tmpext}] $c"
  351. read manext
  352. if test "$manext" = ""; then manext=$tmpext; fi
  353.  
  354. echo ""
  355. echo "Do you want to install man setuid to some user who owns all the"
  356. echo $n "man pages? [yes] $c"
  357. ok=false
  358. while test "$ok" = "false"
  359. do
  360.   read yesno
  361.   if test "$yesno" = "" || test "$yesno" = "yes"
  362.   then
  363.     ok=true
  364.     ans=true
  365.   elif test "$yesno" = "no"
  366.   then
  367.     ok=true
  368.     ans=false
  369.   else
  370.     ok=false
  371.     echo "You must enter yes or no"
  372.   fi
  373. done
  374.  
  375. if test "$ans" = "true"
  376. then
  377.   man_user=daemon
  378.   man_mode=4711
  379.   echo ""
  380.   echo $n "What user will own the man pages? [${man_user}] $c"
  381.   read user
  382.   if test "$user" != ""; then man_user=$user; fi
  383.   echo ""
  384.   echo $n "What mode should the installed man have? [${man_mode}] $c"
  385.   read mode
  386.   if test "$mode" != ""; then man_mode=$mode; fi
  387.   man_install_flags="-m $man_mode -o $man_user"
  388.   DEFS="$DEFS -DSECURE_MAN_UID"
  389. fi
  390.  
  391. # What sections do we anticipate?
  392.  
  393. tmpsections="1 n l 6 8 2 3 4 5 7 p o"
  394. echo ""
  395. echo "Enter the man page sections your system uses, separated by"
  396. echo "spaces, and in the order they should be searched."
  397. echo $n "[${tmpsections}] $c"
  398. read sects
  399. if test "$sects" != ""; then tmpsections=$sects; fi
  400. for sect in $tmpsections
  401. do
  402.   sections="$sections \"$sect\","
  403.   sec_list="$sec_list $sect,"
  404. done
  405. sections="$sections NULL"
  406.  
  407. if test "$nroff" != ""
  408. then
  409.   echo ""
  410.   echo $n "Compress formatted pages? [yes] $c"
  411.   ok=false
  412.   while test "$ok" = "false"
  413.   do
  414.     read yesno
  415.     if test "$yesno" = "" || test "$yesno" = "yes"
  416.     then
  417.       ok=true
  418.       ans=true
  419.     elif test "$yesno" = "no"
  420.     then
  421.       ok=true
  422.       ans=false
  423.     else
  424.       ok=false
  425.       echo "You must enter yes or no"
  426.     fi
  427.   done
  428.  
  429.   if test "$ans" = "true"
  430.   then
  431.     DO_COMPRESSION=true
  432.     compress="/usr/ucb/compress -c"
  433.     echo ""
  434.     echo "What program should be used to compress the formatted pages?"
  435.     echo $n "Note that it must work as a filter! [${compress}] $c"
  436.     found=false
  437.     while test "$found" = "false"
  438.     do
  439.       read tmp
  440.       if test -n "$tmp"
  441.       then
  442.         if test -f `echo $tmp | awk '{print $1}'`
  443.         then
  444.           found=true
  445.           compress=$tmp
  446.         else
  447.           found=false
  448.           echo ""
  449.           echo "`echo $tmp | awk '{print $1}'` doesn't seem to exist!  Try again!"
  450.         fi
  451.       elif test -f `echo "$compress" | awk '{print $1}'`
  452.       then
  453.         found=true
  454.       else
  455.         found=false
  456.         echo ""
  457.         echo "`echo "$compress" | awk '{print $1}'` doesn't seem to exist!  Try again!"
  458.       fi
  459.     done
  460.     case $compress in
  461.       *compress*) ext=Z ;;
  462.       *freeze*) ext=F ;;
  463.       *yabba*) ext=Y ;;
  464.       *) ext="" ;;
  465.     esac
  466.     echo ""
  467.     echo "What (single character) extension should be added to"
  468.     if test "$ext" = ""
  469.     then
  470.       echo "compressed files?"
  471.     else
  472.       echo $n "compressed files?  [${ext}] $c"
  473.     fi
  474.     ok=false
  475.     while test "$ok" = "false"
  476.     do
  477.       read tmp_ext
  478.       if test "$tmp_ext" = "" && test "$ext" != ""
  479.       then
  480.         ok=true
  481.         compress_ext=$ext
  482.       elif test "$tmp_ext" != ""
  483.       then
  484.         ok=true
  485.         compress_ext=$tmp_ext
  486.       fi
  487.     done
  488.   else
  489.     DO_COMPRESSION=false
  490.   fi
  491. fi
  492.  
  493. echo ""
  494. echo $n "Cope with compressed formatted pages? [yes] $c"
  495. ok=false
  496. while test "$ok" = "false"
  497. do
  498.   read yesno
  499.   if test "$yesno" = "" || test "$yesno" = "yes"
  500.   then
  501.     ok=true
  502.     ans=true
  503.   elif test "$yesno" = "no"
  504.   then
  505.     ok=true
  506.     ans=false
  507.   else
  508.     ok=false
  509.     echo "You must enter yes or no"
  510.   fi
  511. done
  512.  
  513. if test "$ans" = "true"
  514. then
  515.   DO_UNCOMPRESSION=true
  516.   zcat="/usr/ucb/zcat"
  517.   fcat="/usr/local/bin/fcat"
  518.   unyabba="/usr/local/bin/unyabba"
  519.   echo ""
  520.   echo "If you don't have one of the following programs, enter \`missing'."
  521.   echo "It's best to enter absolute pathnames so that man won't have to"
  522.   echo "depend on the user's path to work properly.  Default values are"
  523.   echo "given in square brackets.  The answers given are only checked to"
  524.   echo "see if the programs exist, not to see see if the given flags are"
  525.   echo "correct."
  526.   for filter in zcat fcat unyabba
  527.   do
  528.     found=false
  529.     while test "$found" = "false"
  530.     do
  531.       echo ""
  532.       case $filter in
  533.         zcat)
  534.           echo "Command to use for .Z files (standard compress)"
  535.           echo $n "[`eval echo $"$filter"`] $c" ;;
  536.         fcat)
  537.           echo "Command to use for .F files (freeze/melt from net posting)"
  538.           echo $n "[`eval echo $"$filter"`] $c" ;;
  539.         unyabba)
  540.           echo "Command to use for .Y files (yabba/unyabba from net posting)"
  541.           echo $n "[`eval echo $"$filter"`] $c" ;;
  542.         esac
  543.       read tmp
  544.       if test -n "$tmp"
  545.       then
  546.         if test "$tmp" = "missing"
  547.         then
  548.           found=true
  549.           eval $filter=""
  550.         elif test -f `echo $tmp | awk '{print $1}'`
  551.         then
  552.           found=true
  553.           eval $filter="$tmp"
  554.         else
  555.           found=false
  556.           echo ""
  557.           echo "`echo $tmp | awk '{print $1}'` doesn't seem to exist!  Try again or enter \`missing'"
  558.         fi
  559.       elif test -f `eval echo $"$filter" | awk '{print $1}'`
  560.       then
  561.         found=true
  562.       else
  563.         found=false
  564.         echo ""
  565.         echo "`eval echo $"$filter" | awk '{print $1}'` doesn't seem to exist!  Try again or enter \`missing'"
  566.       fi
  567.     done
  568.   done
  569. else
  570.   DO_UNCOMPRESSION=false
  571. fi
  572.  
  573. if test "$DO_COMPRESSION" = "true" && test "$DO_UNCOMPRESSION" = "true"
  574. then
  575.   DEFS="$DEFS -DCOMPRESS"
  576. elif test "$DO_COMPRESSION" = "true"
  577. then
  578.   DEFS="$DEFS -DDO_COMPRESS"
  579. elif test "$DO_UNCOMPRESSION" = "true"
  580. then
  581.   DEFS="$DEFS -DDO_UNCOMPRESS"
  582. fi
  583.  
  584. echo ""
  585. echo "Do you want man to be able to handle directory trees for"
  586. echo $n "alternate systems? [yes] $c"
  587. ok=false
  588. while test "$ok" = "false"
  589. do
  590.   read yesno
  591.   if test "$yesno" = "" || test "$yesno" = "yes"
  592.   then
  593.     ok=true
  594.     ans=true
  595.   elif test "$yesno" = "no"
  596.   then
  597.     ok=true
  598.     ans=false
  599.   else
  600.     ok=false
  601.     echo "You must enter yes or no"
  602.   fi
  603. done
  604.  
  605. if test "$ans" = "true"
  606. then
  607.   DEFS="$DEFS -DALT_SYSTEMS"
  608. fi
  609.  
  610. man=$bindir/man
  611. manpath=$bindir/manpath
  612. apropos=$bindir/apropos
  613. whatis=$bindir/whatis
  614. makewhatis=$libdir/makewhatis
  615. config_file=$libdir/manpath.config
  616.  
  617. trap 'rm -f Makefile config.status; exit 1' 1 3 15
  618.  
  619. for dir in .
  620. do
  621.   test -d $dir || mkdir $dir
  622.   echo "# Generated automatically from Makefile.in by the"     > $dir/Makefile
  623.   echo "# configure script."                                  >> $dir/Makefile
  624.   echo "#"                                                    >> $dir/Makefile
  625.   echo "# If you haven't read the file README yet, now would" >> $dir/Makefile
  626.   echo "# be a good time to do so."                           >> $dir/Makefile
  627.   echo "Creating $dir/Makefile from $srcdir/$dir/Makefile.in"
  628.   sed -e "
  629. s,@srcdir@,$srcdir,
  630. s,@VPATH@,$VPATH,
  631. s,@CC@,$CC,
  632. s,@DEFS@,$DEFS,
  633. s,@LIBS@,$LIBS,
  634. s,@LIBOBJS@,$LIBOBJS,
  635. s,@troff@,$troff,
  636. s,@pager@,$pager,
  637. s,@bindir@,$bindir,
  638. s,@libdir@,$libdir,
  639. s,@mandir@,$mandir,
  640. s,@manext@,$manext,
  641. s,@man_install_flags@,$man_install_flags,
  642. s,@man@,$man,
  643. s,@manpath@,$manpath,
  644. s,@apropos@,$apropos,
  645. s,@whatis@,$whatis,
  646. s,@makewhatis@,$makewhatis,
  647. s,@config_file@,$config_file,
  648. s/@sections@/$sections/
  649. s/@sec_list@/$sec_list/
  650. " $srcdir/$dir/Makefile.in >> $dir/Makefile
  651. done
  652.  
  653. echo "Creating config.h from $srcdir/config.h.in"
  654. sed -e "
  655. s,@troff@,$troff,
  656. s,@nroff@,$nroff,
  657. s,@eqn@,$eqn,
  658. s,@neqn@,$neqn,
  659. s,@tbl@,$tbl,
  660. s,@col@,$col,
  661. s,@vgrind@,$vgrind,
  662. s,@refer@,$refer,
  663. s,@grap@,$grap,
  664. s,@pic@,$pic,
  665. s,@fcat@,$fcat,
  666. s,@zcat@,$zcat,
  667. s,@unyabba@,$unyabba,
  668. s,@compress@,$compress,
  669. s,@compress_ext@,$compress_ext,
  670. s,@pager@,$pager,
  671. s,@bindir@,$bindir,
  672. s,@libdir@,$libdir,
  673. s,@man@,$man,
  674. s,@manpath@,$manpath,
  675. s,@apropos@,$apropos,
  676. s,@whatis@,$whatis,
  677. s,@makewhatis@,$makewhatis,
  678. s,@config_file@,$config_file,
  679. s,@man_user@,$man_user,
  680. s/@sections@/$sections/
  681. s/@sec_list@/$sec_list/
  682. " $srcdir/config.h.in > config.h
  683.  
  684. echo "CC            = $CC
  685. DEFS          = $DEFS
  686. LIBOBJS       = $LIBOBJS
  687. troff         = $troff
  688. nroff         = $nroff
  689. eqn           = $eqn
  690. neqn          = $neqn
  691. tbl           = $tbl
  692. col           = $col
  693. vgrind        = $vgrind
  694. refer         = $refer
  695. grap          = $grap
  696. pic           = $pic
  697. pager         = $pager
  698. bindir        = $bindir
  699. libdir        = $libdir
  700. mandir        = $mandir
  701. manext        = $manext
  702. apropos       = $apropos
  703. whatis        = $whatis
  704. config_file   = $config_file
  705. man_user      = $man_user
  706. install_flags = $man_install_flags
  707. sections      = $sections" > config.status
  708.  
  709. echo ""
  710. echo "Don't forget to edit the file manpath.config to match your site."
  711. echo ""
  712.