home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / CLISP-2.LHA / CLISP960530-ki.lha / ffcall / avcall / config.status < prev    next >
Encoding:
Text File  |  1996-06-12  |  6.1 KB  |  185 lines

  1. #! /bin/sh
  2. # Generated automatically by configure.
  3. # Run this file to recreate the current configuration.
  4. # This directory was configured as follows,
  5. # on host :
  6. #
  7. # /WB/usr/source/clisp/ffcall/avcall/configure  --host=m68k-cbm-amigados --cache-file=.././config.cache --srcdir=/WB/usr/source/clisp/ffcall/avcall
  8. #
  9. # Compiler output produced by configure, useful for debugging
  10. # configure, is in ./config.log if it exists.
  11.  
  12. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
  13. for ac_option
  14. do
  15.   case "$ac_option" in
  16.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  17.     echo "running ${CONFIG_SHELL-/bin/sh} /WB/usr/source/clisp/ffcall/avcall/configure  --host=m68k-cbm-amigados --cache-file=.././config.cache --srcdir=/WB/usr/source/clisp/ffcall/avcall --no-create --no-recursion"
  18.     exec ${CONFIG_SHELL-/bin/sh} /WB/usr/source/clisp/ffcall/avcall/configure  --host=m68k-cbm-amigados --cache-file=.././config.cache --srcdir=/WB/usr/source/clisp/ffcall/avcall --no-create --no-recursion ;;
  19.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  20.     echo "./config.status generated by autoconf version 2.7"
  21.     exit 0 ;;
  22.   -help | --help | --hel | --he | --h)
  23.     echo "$ac_cs_usage"; exit 0 ;;
  24.   *) echo "$ac_cs_usage"; exit 1 ;;
  25.   esac
  26. done
  27.  
  28. ac_given_srcdir=/WB/usr/source/clisp/ffcall/avcall
  29.  
  30. trap 'rm -fr Makefile avcall.h conftest*; exit 1' 1 2 15
  31.  
  32. # Protect against being on the right side of a sed subst in config.status.
  33. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
  34.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  35.  
  36.  
  37. s%@CFLAGS@%-g -O%g
  38. s%@CPPFLAGS@%%g
  39. s%@CXXFLAGS@%%g
  40. s%@DEFS@%-DHAVE_CONFIG_H%g
  41. s%@LDFLAGS@%%g
  42. s%@LIBS@%%g
  43. s%@exec_prefix@%${prefix}%g
  44. s%@prefix@%/usr/local%g
  45. s%@program_transform_name@%s,x,x,%g
  46. s%@bindir@%${exec_prefix}/bin%g
  47. s%@sbindir@%${exec_prefix}/sbin%g
  48. s%@libexecdir@%${exec_prefix}/libexec%g
  49. s%@datadir@%${prefix}/share%g
  50. s%@sysconfdir@%${prefix}/etc%g
  51. s%@sharedstatedir@%${prefix}/com%g
  52. s%@localstatedir@%${prefix}/var%g
  53. s%@libdir@%${exec_prefix}/lib%g
  54. s%@includedir@%${prefix}/include%g
  55. s%@oldincludedir@%/usr/include%g
  56. s%@infodir@%${prefix}/info%g
  57. s%@mandir@%${prefix}/man%g
  58. s%@CC@%gcc%g
  59. s%@CPP@%gcc -E%g
  60. s%@AS_UNDERSCORE@%true%g
  61. s%@RANLIB@%ranlib%g
  62. s%@SET_MAKE@%%g
  63. s%@INSTALL@%/bin/install -c%g
  64. s%@INSTALL_PROGRAM@%$(INSTALL)%g
  65. s%@INSTALL_DATA@%$(INSTALL) -m 644%g
  66. s%@host@%m68k-cbm-amigados%g
  67. s%@host_cpu@%m68k%g
  68. s%@host_vendor@%cbm%g
  69. s%@host_os@%amigados%g
  70.  
  71. CEOF
  72.  
  73. CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  74. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  75.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  76.   case "$ac_file" in
  77.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  78.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  79.   *) ac_file_in="${ac_file}.in" ;;
  80.   esac
  81.  
  82.   # Adjust relative srcdir, etc. for subdirectories.
  83.  
  84.   # Remove last slash and all that follows it.  Not all systems have dirname.
  85.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  86.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  87.     # The file is in a subdirectory.
  88.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  89.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  90.     # A "../" for each directory in $ac_dir_suffix.
  91.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  92.   else
  93.     ac_dir_suffix= ac_dots=
  94.   fi
  95.  
  96.   case "$ac_given_srcdir" in
  97.   .)  srcdir=.
  98.       if test -z "$ac_dots"; then top_srcdir=.
  99.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  100.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  101.   *) # Relative path.
  102.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  103.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  104.   esac
  105.  
  106.   echo creating "$ac_file"
  107.   rm -f "$ac_file"
  108.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  109.   case "$ac_file" in
  110.   *Makefile*) ac_comsub="1i\\
  111. # $configure_input" ;;
  112.   *) ac_comsub= ;;
  113.   esac
  114.   sed -e "$ac_comsub
  115. s%@configure_input@%$configure_input%g
  116. s%@srcdir@%$srcdir%g
  117. s%@top_srcdir@%$top_srcdir%g
  118. " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  119. fi; done
  120. rm -f conftest.subs
  121.  
  122. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  123. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  124. #
  125. # ac_d sets the value in "#define NAME VALUE" lines.
  126. ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  127. ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  128. ac_dC='\3'
  129. ac_dD='%g'
  130. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  131. ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  132. ac_uB='\([     ]\)%\1#\2define\3'
  133. ac_uC=' '
  134. ac_uD='\4%g'
  135. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  136. ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  137. ac_eB='$%\1#\2define\3'
  138. ac_eC=' '
  139. ac_eD='%g'
  140.  
  141. CONFIG_HEADERS=${CONFIG_HEADERS-"avcall.h"}
  142. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  143.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  144.   case "$ac_file" in
  145.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  146.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  147.   *) ac_file_in="${ac_file}.in" ;;
  148.   esac
  149.  
  150.   echo creating $ac_file
  151.  
  152.   rm -f conftest.frag conftest.in conftest.out
  153.   cp $ac_given_srcdir/$ac_file_in conftest.in
  154.  
  155.   cat > conftest.frag <<CEOF
  156. ${ac_dA}__m68k__${ac_dB}__m68k__${ac_dC}1${ac_dD}
  157. ${ac_uA}__m68k__${ac_uB}__m68k__${ac_uC}1${ac_uD}
  158. ${ac_eA}__m68k__${ac_eB}__m68k__${ac_eC}1${ac_eD}
  159. ${ac_dA}__PCC_STRUCT_RETURN__${ac_dB}__PCC_STRUCT_RETURN__${ac_dC}1${ac_dD}
  160. ${ac_uA}__PCC_STRUCT_RETURN__${ac_uB}__PCC_STRUCT_RETURN__${ac_uC}1${ac_uD}
  161. ${ac_eA}__PCC_STRUCT_RETURN__${ac_eB}__PCC_STRUCT_RETURN__${ac_eC}1${ac_eD}
  162. s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  163. CEOF
  164.   sed -f conftest.frag conftest.in > conftest.out
  165.   chmod u+w conftest.in
  166.   rm -f conftest.in
  167.   mv conftest.out conftest.in
  168.  
  169.   rm -f conftest.frag conftest.h
  170.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  171.   cat conftest.in >> conftest.h
  172.   rm -f conftest.in
  173.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  174.     echo "$ac_file is unchanged"
  175.     rm -f conftest.h
  176.   else
  177.     rm -f $ac_file
  178.     mv conftest.h $ac_file
  179.   fi
  180. fi; done
  181.  
  182.  
  183.  
  184. exit 0
  185.