config.status
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:27k
源码类别:

MySQL数据库

开发平台:

Visual C++

  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 mysql-work:
  6. #
  7. # ./config/configure 
  8. #
  9. # Compiler output produced by configure, useful for debugging
  10. # configure, is in ./config.log if it exists.
  11. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
  12. for ac_option
  13. do
  14.   case "$ac_option" in
  15.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  16.     echo "running ${CONFIG_SHELL-/bin/sh} ./config/configure  --no-create --no-recursion"
  17.     exec ${CONFIG_SHELL-/bin/sh} ./config/configure  --no-create --no-recursion ;;
  18.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  19.     echo "./config.status generated by autoconf version 2.13"
  20.     exit 0 ;;
  21.   -help | --help | --hel | --he | --h)
  22.     echo "$ac_cs_usage"; exit 0 ;;
  23.   *) echo "$ac_cs_usage"; exit 1 ;;
  24.   esac
  25. done
  26. ac_given_srcdir=./config
  27. trap 'rm -fr config.flags GNUmakefile Makefile  lib/Makefile  lib/libpthreadutil/Makefile  bin/Makefile  bin/finger/Makefile  tests/Makefile config.h conftest*; exit 1' 1 2 15
  28. # Protect against being on the right side of a sed subst in config.status.
  29. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\&%]/\&/g;
  30.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<CEOF
  31. s%@SHELL@%/bin/sh%g
  32. s%@CFLAGS@%-O6 -DDBUG_OFF   -Werror%g
  33. s%@CPPFLAGS@%%g
  34. s%@CXXFLAGS@%-g -O2%g
  35. s%@FFLAGS@%%g
  36. s%@DEFS@%-DHAVE_CONFIG_H%g
  37. s%@LDFLAGS@% -rdynamic%g
  38. s%@LIBS@%%g
  39. s%@exec_prefix@%${prefix}%g
  40. s%@prefix@%/usr/local/pthreads%g
  41. s%@program_transform_name@%s,x,x,%g
  42. s%@bindir@%${exec_prefix}/bin%g
  43. s%@sbindir@%${exec_prefix}/sbin%g
  44. s%@libexecdir@%${exec_prefix}/libexec%g
  45. s%@datadir@%${prefix}/share%g
  46. s%@sysconfdir@%${prefix}/etc%g
  47. s%@sharedstatedir@%${prefix}/com%g
  48. s%@localstatedir@%${prefix}/var%g
  49. s%@libdir@%${exec_prefix}/lib%g
  50. s%@includedir@%${prefix}/include%g
  51. s%@oldincludedir@%/usr/include%g
  52. s%@infodir@%${prefix}/info%g
  53. s%@mandir@%${prefix}/man%g
  54. s%@CC@%gcc%g
  55. s%@CXX@%gcc%g
  56. s%@CPP@%gcc -E%g
  57. s%@RANLIB@%ranlib%g
  58. s%@host@%i386-unknown-linux%g
  59. s%@host_alias@%i686-unknown-linux%g
  60. s%@host_cpu@%i386%g
  61. s%@host_vendor@%unknown%g
  62. s%@host_os@%linux%g
  63. s%@target@%i686-unknown-linux%g
  64. s%@target_alias@%i686-unknown-linux%g
  65. s%@target_cpu@%i686%g
  66. s%@target_vendor@%unknown%g
  67. s%@target_os@%linux%g
  68. s%@build@%i686-unknown-linux%g
  69. s%@build_alias@%i686-unknown-linux%g
  70. s%@build_cpu@%i686%g
  71. s%@build_vendor@%unknown%g
  72. s%@build_os@%linux%g
  73. s%@SYSCALL_EXCEPTIONS@%%g
  74. s%@available_syscalls@% open write read creat close fcntl lseek dup2 dup pipe fchmod fchown execve fstat lstat link unlink chdir chown chmod stat rename select ioctl ftruncate flock fstatfs chroot uname sigsuspend sigaction sigprocmask getdents readdir wait4 waitpid poll socketcall exit readv writev getpgrp fork%g
  75. s%@missing_syscalls@% getdtablesize sigpause ksigaction getdirentries wait3 waitsys socket bind connect accept listen getsockopt setsockopt socketpair putmsg getmsg pgrpsys send sendto sendmsg recv recvfrom recvmsg getpeername getsockname shutdown%g
  76. s%@srctop@%/home/my/tmp/BUILD/mit-pthreads%g
  77. s%@HAVE_SYSCALL_TEMPLATE@%no%g
  78. /@makefile_frag@/r /dev/null
  79. s%@makefile_frag@%%g
  80. CEOF
  81. # Split the substitutions into bite-sized pieces for seds with
  82. # small command number limits, like on Digital OSF/1 and HP-UX.
  83. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  84. ac_file=1 # Number of current file.
  85. ac_beg=1 # First line for current file.
  86. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  87. ac_more_lines=:
  88. ac_sed_cmds=""
  89. while $ac_more_lines; do
  90.   if test $ac_beg -gt 1; then
  91.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  92.   else
  93.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  94.   fi
  95.   if test ! -s conftest.s$ac_file; then
  96.     ac_more_lines=false
  97.     rm -f conftest.s$ac_file
  98.   else
  99.     if test -z "$ac_sed_cmds"; then
  100.       ac_sed_cmds="sed -f conftest.s$ac_file"
  101.     else
  102.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  103.     fi
  104.     ac_file=`expr $ac_file + 1`
  105.     ac_beg=$ac_end
  106.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  107.   fi
  108. done
  109. if test -z "$ac_sed_cmds"; then
  110.   ac_sed_cmds=cat
  111. fi
  112. CONFIG_FILES=${CONFIG_FILES-"config.flags GNUmakefile Makefile  lib/Makefile:../lib/Makefile.in  lib/libpthreadutil/Makefile:../lib/libpthreadutil/Makefile.in  bin/Makefile:../bin/Makefile.in  bin/finger/Makefile:../bin/finger/Makefile.in  tests/Makefile:../tests/Makefile.in"}
  113. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  114.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  115.   case "$ac_file" in
  116.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  117.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  118.   *) ac_file_in="${ac_file}.in" ;;
  119.   esac
  120.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  121.   # Remove last slash and all that follows it.  Not all systems have dirname.
  122.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  123.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  124.     # The file is in a subdirectory.
  125.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  126.     ac_dir_suffix="/`echo $ac_dir|sed 's%^./%%'`"
  127.     # A "../" for each directory in $ac_dir_suffix.
  128.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  129.   else
  130.     ac_dir_suffix= ac_dots=
  131.   fi
  132.   case "$ac_given_srcdir" in
  133.   .)  srcdir=.
  134.       if test -z "$ac_dots"; then top_srcdir=.
  135.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  136.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  137.   *) # Relative path.
  138.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  139.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  140.   esac
  141.   echo creating "$ac_file"
  142.   rm -f "$ac_file"
  143.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  144.   case "$ac_file" in
  145.   *Makefile*) ac_comsub="1i\
  146. # $configure_input" ;;
  147.   *) ac_comsub= ;;
  148.   esac
  149.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  150.   sed -e "$ac_comsub
  151. s%@configure_input@%$configure_input%g
  152. s%@srcdir@%$srcdir%g
  153. s%@top_srcdir@%$top_srcdir%g
  154. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  155. fi; done
  156. rm -f conftest.s*
  157. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  158. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  159. #
  160. # ac_d sets the value in "#define NAME VALUE" lines.
  161. ac_dA='s%^([  ]*)#([  ]*define[  ][  ]*)'
  162. ac_dB='([  ][  ]*)[^  ]*%1#2'
  163. ac_dC='3'
  164. ac_dD='%g'
  165. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  166. ac_uA='s%^([  ]*)#([  ]*)undef([  ][  ]*)'
  167. ac_uB='([  ])%1#2define3'
  168. ac_uC=' '
  169. ac_uD='4%g'
  170. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  171. ac_eA='s%^([  ]*)#([  ]*)undef([  ][  ]*)'
  172. ac_eB='$%1#2define3'
  173. ac_eC=' '
  174. ac_eD='%g'
  175. if test "${CONFIG_HEADERS+set}" != set; then
  176.   CONFIG_HEADERS="config.h"
  177. fi
  178. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  179.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  180.   case "$ac_file" in
  181.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  182.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  183.   *) ac_file_in="${ac_file}.in" ;;
  184.   esac
  185.   echo creating $ac_file
  186.   rm -f conftest.frag conftest.in conftest.out
  187.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  188.   cat $ac_file_inputs > conftest.in
  189.   cat > conftest.frag <<CEOF
  190. ${ac_dA}HAVE_TERMIOS_H${ac_dB}HAVE_TERMIOS_H${ac_dC}1${ac_dD}
  191. ${ac_uA}HAVE_TERMIOS_H${ac_uB}HAVE_TERMIOS_H${ac_uC}1${ac_uD}
  192. ${ac_eA}HAVE_TERMIOS_H${ac_eB}HAVE_TERMIOS_H${ac_eC}1${ac_eD}
  193. ${ac_dA}HAVE_TERMIO_H${ac_dB}HAVE_TERMIO_H${ac_dC}1${ac_dD}
  194. ${ac_uA}HAVE_TERMIO_H${ac_uB}HAVE_TERMIO_H${ac_uC}1${ac_uD}
  195. ${ac_eA}HAVE_TERMIO_H${ac_eB}HAVE_TERMIO_H${ac_eC}1${ac_eD}
  196. ${ac_dA}HAVE_SYSCALL_H${ac_dB}HAVE_SYSCALL_H${ac_dC}1${ac_dD}
  197. ${ac_uA}HAVE_SYSCALL_H${ac_uB}HAVE_SYSCALL_H${ac_uC}1${ac_uD}
  198. ${ac_eA}HAVE_SYSCALL_H${ac_eB}HAVE_SYSCALL_H${ac_eC}1${ac_eD}
  199. ${ac_dA}HAVE_SYS_SYSCALL_H${ac_dB}HAVE_SYS_SYSCALL_H${ac_dC}1${ac_dD}
  200. ${ac_uA}HAVE_SYS_SYSCALL_H${ac_uB}HAVE_SYS_SYSCALL_H${ac_uC}1${ac_uD}
  201. ${ac_eA}HAVE_SYS_SYSCALL_H${ac_eB}HAVE_SYS_SYSCALL_H${ac_eC}1${ac_eD}
  202. CEOF
  203.   sed -f conftest.frag conftest.in > conftest.out
  204.   rm -f conftest.in
  205.   mv conftest.out conftest.in
  206.   cat > conftest.frag <<CEOF
  207. ${ac_dA}HAVE_SYSCALL_OPEN${ac_dB}HAVE_SYSCALL_OPEN${ac_dC}1${ac_dD}
  208. ${ac_uA}HAVE_SYSCALL_OPEN${ac_uB}HAVE_SYSCALL_OPEN${ac_uC}1${ac_uD}
  209. ${ac_eA}HAVE_SYSCALL_OPEN${ac_eB}HAVE_SYSCALL_OPEN${ac_eC}1${ac_eD}
  210. ${ac_dA}HAVE_SYSCALL_WRITE${ac_dB}HAVE_SYSCALL_WRITE${ac_dC}1${ac_dD}
  211. ${ac_uA}HAVE_SYSCALL_WRITE${ac_uB}HAVE_SYSCALL_WRITE${ac_uC}1${ac_uD}
  212. ${ac_eA}HAVE_SYSCALL_WRITE${ac_eB}HAVE_SYSCALL_WRITE${ac_eC}1${ac_eD}
  213. ${ac_dA}HAVE_SYSCALL_READ${ac_dB}HAVE_SYSCALL_READ${ac_dC}1${ac_dD}
  214. ${ac_uA}HAVE_SYSCALL_READ${ac_uB}HAVE_SYSCALL_READ${ac_uC}1${ac_uD}
  215. ${ac_eA}HAVE_SYSCALL_READ${ac_eB}HAVE_SYSCALL_READ${ac_eC}1${ac_eD}
  216. ${ac_dA}HAVE_SYSCALL_CREAT${ac_dB}HAVE_SYSCALL_CREAT${ac_dC}1${ac_dD}
  217. ${ac_uA}HAVE_SYSCALL_CREAT${ac_uB}HAVE_SYSCALL_CREAT${ac_uC}1${ac_uD}
  218. ${ac_eA}HAVE_SYSCALL_CREAT${ac_eB}HAVE_SYSCALL_CREAT${ac_eC}1${ac_eD}
  219. CEOF
  220.   sed -f conftest.frag conftest.in > conftest.out
  221.   rm -f conftest.in
  222.   mv conftest.out conftest.in
  223.   cat > conftest.frag <<CEOF
  224. ${ac_dA}HAVE_SYSCALL_CLOSE${ac_dB}HAVE_SYSCALL_CLOSE${ac_dC}1${ac_dD}
  225. ${ac_uA}HAVE_SYSCALL_CLOSE${ac_uB}HAVE_SYSCALL_CLOSE${ac_uC}1${ac_uD}
  226. ${ac_eA}HAVE_SYSCALL_CLOSE${ac_eB}HAVE_SYSCALL_CLOSE${ac_eC}1${ac_eD}
  227. ${ac_dA}HAVE_SYSCALL_FCNTL${ac_dB}HAVE_SYSCALL_FCNTL${ac_dC}1${ac_dD}
  228. ${ac_uA}HAVE_SYSCALL_FCNTL${ac_uB}HAVE_SYSCALL_FCNTL${ac_uC}1${ac_uD}
  229. ${ac_eA}HAVE_SYSCALL_FCNTL${ac_eB}HAVE_SYSCALL_FCNTL${ac_eC}1${ac_eD}
  230. ${ac_dA}HAVE_SYSCALL_LSEEK${ac_dB}HAVE_SYSCALL_LSEEK${ac_dC}1${ac_dD}
  231. ${ac_uA}HAVE_SYSCALL_LSEEK${ac_uB}HAVE_SYSCALL_LSEEK${ac_uC}1${ac_uD}
  232. ${ac_eA}HAVE_SYSCALL_LSEEK${ac_eB}HAVE_SYSCALL_LSEEK${ac_eC}1${ac_eD}
  233. ${ac_dA}HAVE_SYSCALL_DUP2${ac_dB}HAVE_SYSCALL_DUP2${ac_dC}1${ac_dD}
  234. ${ac_uA}HAVE_SYSCALL_DUP2${ac_uB}HAVE_SYSCALL_DUP2${ac_uC}1${ac_uD}
  235. ${ac_eA}HAVE_SYSCALL_DUP2${ac_eB}HAVE_SYSCALL_DUP2${ac_eC}1${ac_eD}
  236. CEOF
  237.   sed -f conftest.frag conftest.in > conftest.out
  238.   rm -f conftest.in
  239.   mv conftest.out conftest.in
  240.   cat > conftest.frag <<CEOF
  241. ${ac_dA}HAVE_SYSCALL_DUP${ac_dB}HAVE_SYSCALL_DUP${ac_dC}1${ac_dD}
  242. ${ac_uA}HAVE_SYSCALL_DUP${ac_uB}HAVE_SYSCALL_DUP${ac_uC}1${ac_uD}
  243. ${ac_eA}HAVE_SYSCALL_DUP${ac_eB}HAVE_SYSCALL_DUP${ac_eC}1${ac_eD}
  244. ${ac_dA}HAVE_SYSCALL_PIPE${ac_dB}HAVE_SYSCALL_PIPE${ac_dC}1${ac_dD}
  245. ${ac_uA}HAVE_SYSCALL_PIPE${ac_uB}HAVE_SYSCALL_PIPE${ac_uC}1${ac_uD}
  246. ${ac_eA}HAVE_SYSCALL_PIPE${ac_eB}HAVE_SYSCALL_PIPE${ac_eC}1${ac_eD}
  247. ${ac_dA}HAVE_SYSCALL_FCHMOD${ac_dB}HAVE_SYSCALL_FCHMOD${ac_dC}1${ac_dD}
  248. ${ac_uA}HAVE_SYSCALL_FCHMOD${ac_uB}HAVE_SYSCALL_FCHMOD${ac_uC}1${ac_uD}
  249. ${ac_eA}HAVE_SYSCALL_FCHMOD${ac_eB}HAVE_SYSCALL_FCHMOD${ac_eC}1${ac_eD}
  250. ${ac_dA}HAVE_SYSCALL_FCHOWN${ac_dB}HAVE_SYSCALL_FCHOWN${ac_dC}1${ac_dD}
  251. ${ac_uA}HAVE_SYSCALL_FCHOWN${ac_uB}HAVE_SYSCALL_FCHOWN${ac_uC}1${ac_uD}
  252. ${ac_eA}HAVE_SYSCALL_FCHOWN${ac_eB}HAVE_SYSCALL_FCHOWN${ac_eC}1${ac_eD}
  253. CEOF
  254.   sed -f conftest.frag conftest.in > conftest.out
  255.   rm -f conftest.in
  256.   mv conftest.out conftest.in
  257.   cat > conftest.frag <<CEOF
  258. ${ac_dA}HAVE_SYSCALL_EXECVE${ac_dB}HAVE_SYSCALL_EXECVE${ac_dC}1${ac_dD}
  259. ${ac_uA}HAVE_SYSCALL_EXECVE${ac_uB}HAVE_SYSCALL_EXECVE${ac_uC}1${ac_uD}
  260. ${ac_eA}HAVE_SYSCALL_EXECVE${ac_eB}HAVE_SYSCALL_EXECVE${ac_eC}1${ac_eD}
  261. ${ac_dA}HAVE_SYSCALL_FSTAT${ac_dB}HAVE_SYSCALL_FSTAT${ac_dC}1${ac_dD}
  262. ${ac_uA}HAVE_SYSCALL_FSTAT${ac_uB}HAVE_SYSCALL_FSTAT${ac_uC}1${ac_uD}
  263. ${ac_eA}HAVE_SYSCALL_FSTAT${ac_eB}HAVE_SYSCALL_FSTAT${ac_eC}1${ac_eD}
  264. ${ac_dA}HAVE_SYSCALL_LSTAT${ac_dB}HAVE_SYSCALL_LSTAT${ac_dC}1${ac_dD}
  265. ${ac_uA}HAVE_SYSCALL_LSTAT${ac_uB}HAVE_SYSCALL_LSTAT${ac_uC}1${ac_uD}
  266. ${ac_eA}HAVE_SYSCALL_LSTAT${ac_eB}HAVE_SYSCALL_LSTAT${ac_eC}1${ac_eD}
  267. ${ac_dA}HAVE_SYSCALL_LINK${ac_dB}HAVE_SYSCALL_LINK${ac_dC}1${ac_dD}
  268. ${ac_uA}HAVE_SYSCALL_LINK${ac_uB}HAVE_SYSCALL_LINK${ac_uC}1${ac_uD}
  269. ${ac_eA}HAVE_SYSCALL_LINK${ac_eB}HAVE_SYSCALL_LINK${ac_eC}1${ac_eD}
  270. CEOF
  271.   sed -f conftest.frag conftest.in > conftest.out
  272.   rm -f conftest.in
  273.   mv conftest.out conftest.in
  274.   cat > conftest.frag <<CEOF
  275. ${ac_dA}HAVE_SYSCALL_UNLINK${ac_dB}HAVE_SYSCALL_UNLINK${ac_dC}1${ac_dD}
  276. ${ac_uA}HAVE_SYSCALL_UNLINK${ac_uB}HAVE_SYSCALL_UNLINK${ac_uC}1${ac_uD}
  277. ${ac_eA}HAVE_SYSCALL_UNLINK${ac_eB}HAVE_SYSCALL_UNLINK${ac_eC}1${ac_eD}
  278. ${ac_dA}HAVE_SYSCALL_CHDIR${ac_dB}HAVE_SYSCALL_CHDIR${ac_dC}1${ac_dD}
  279. ${ac_uA}HAVE_SYSCALL_CHDIR${ac_uB}HAVE_SYSCALL_CHDIR${ac_uC}1${ac_uD}
  280. ${ac_eA}HAVE_SYSCALL_CHDIR${ac_eB}HAVE_SYSCALL_CHDIR${ac_eC}1${ac_eD}
  281. ${ac_dA}HAVE_SYSCALL_CHOWN${ac_dB}HAVE_SYSCALL_CHOWN${ac_dC}1${ac_dD}
  282. ${ac_uA}HAVE_SYSCALL_CHOWN${ac_uB}HAVE_SYSCALL_CHOWN${ac_uC}1${ac_uD}
  283. ${ac_eA}HAVE_SYSCALL_CHOWN${ac_eB}HAVE_SYSCALL_CHOWN${ac_eC}1${ac_eD}
  284. ${ac_dA}HAVE_SYSCALL_CHMOD${ac_dB}HAVE_SYSCALL_CHMOD${ac_dC}1${ac_dD}
  285. ${ac_uA}HAVE_SYSCALL_CHMOD${ac_uB}HAVE_SYSCALL_CHMOD${ac_uC}1${ac_uD}
  286. ${ac_eA}HAVE_SYSCALL_CHMOD${ac_eB}HAVE_SYSCALL_CHMOD${ac_eC}1${ac_eD}
  287. CEOF
  288.   sed -f conftest.frag conftest.in > conftest.out
  289.   rm -f conftest.in
  290.   mv conftest.out conftest.in
  291.   cat > conftest.frag <<CEOF
  292. ${ac_dA}HAVE_SYSCALL_STAT${ac_dB}HAVE_SYSCALL_STAT${ac_dC}1${ac_dD}
  293. ${ac_uA}HAVE_SYSCALL_STAT${ac_uB}HAVE_SYSCALL_STAT${ac_uC}1${ac_uD}
  294. ${ac_eA}HAVE_SYSCALL_STAT${ac_eB}HAVE_SYSCALL_STAT${ac_eC}1${ac_eD}
  295. ${ac_dA}HAVE_SYSCALL_RENAME${ac_dB}HAVE_SYSCALL_RENAME${ac_dC}1${ac_dD}
  296. ${ac_uA}HAVE_SYSCALL_RENAME${ac_uB}HAVE_SYSCALL_RENAME${ac_uC}1${ac_uD}
  297. ${ac_eA}HAVE_SYSCALL_RENAME${ac_eB}HAVE_SYSCALL_RENAME${ac_eC}1${ac_eD}
  298. ${ac_dA}HAVE_SYSCALL_SELECT${ac_dB}HAVE_SYSCALL_SELECT${ac_dC}1${ac_dD}
  299. ${ac_uA}HAVE_SYSCALL_SELECT${ac_uB}HAVE_SYSCALL_SELECT${ac_uC}1${ac_uD}
  300. ${ac_eA}HAVE_SYSCALL_SELECT${ac_eB}HAVE_SYSCALL_SELECT${ac_eC}1${ac_eD}
  301. ${ac_dA}HAVE_SYSCALL_IOCTL${ac_dB}HAVE_SYSCALL_IOCTL${ac_dC}1${ac_dD}
  302. ${ac_uA}HAVE_SYSCALL_IOCTL${ac_uB}HAVE_SYSCALL_IOCTL${ac_uC}1${ac_uD}
  303. ${ac_eA}HAVE_SYSCALL_IOCTL${ac_eB}HAVE_SYSCALL_IOCTL${ac_eC}1${ac_eD}
  304. CEOF
  305.   sed -f conftest.frag conftest.in > conftest.out
  306.   rm -f conftest.in
  307.   mv conftest.out conftest.in
  308.   cat > conftest.frag <<CEOF
  309. ${ac_dA}HAVE_SYSCALL_FTRUNCATE${ac_dB}HAVE_SYSCALL_FTRUNCATE${ac_dC}1${ac_dD}
  310. ${ac_uA}HAVE_SYSCALL_FTRUNCATE${ac_uB}HAVE_SYSCALL_FTRUNCATE${ac_uC}1${ac_uD}
  311. ${ac_eA}HAVE_SYSCALL_FTRUNCATE${ac_eB}HAVE_SYSCALL_FTRUNCATE${ac_eC}1${ac_eD}
  312. ${ac_dA}HAVE_SYSCALL_FLOCK${ac_dB}HAVE_SYSCALL_FLOCK${ac_dC}1${ac_dD}
  313. ${ac_uA}HAVE_SYSCALL_FLOCK${ac_uB}HAVE_SYSCALL_FLOCK${ac_uC}1${ac_uD}
  314. ${ac_eA}HAVE_SYSCALL_FLOCK${ac_eB}HAVE_SYSCALL_FLOCK${ac_eC}1${ac_eD}
  315. ${ac_dA}HAVE_SYSCALL_FSTATFS${ac_dB}HAVE_SYSCALL_FSTATFS${ac_dC}1${ac_dD}
  316. ${ac_uA}HAVE_SYSCALL_FSTATFS${ac_uB}HAVE_SYSCALL_FSTATFS${ac_uC}1${ac_uD}
  317. ${ac_eA}HAVE_SYSCALL_FSTATFS${ac_eB}HAVE_SYSCALL_FSTATFS${ac_eC}1${ac_eD}
  318. ${ac_dA}HAVE_SYSCALL_CHROOT${ac_dB}HAVE_SYSCALL_CHROOT${ac_dC}1${ac_dD}
  319. ${ac_uA}HAVE_SYSCALL_CHROOT${ac_uB}HAVE_SYSCALL_CHROOT${ac_uC}1${ac_uD}
  320. ${ac_eA}HAVE_SYSCALL_CHROOT${ac_eB}HAVE_SYSCALL_CHROOT${ac_eC}1${ac_eD}
  321. CEOF
  322.   sed -f conftest.frag conftest.in > conftest.out
  323.   rm -f conftest.in
  324.   mv conftest.out conftest.in
  325.   cat > conftest.frag <<CEOF
  326. ${ac_dA}HAVE_SYSCALL_UNAME${ac_dB}HAVE_SYSCALL_UNAME${ac_dC}1${ac_dD}
  327. ${ac_uA}HAVE_SYSCALL_UNAME${ac_uB}HAVE_SYSCALL_UNAME${ac_uC}1${ac_uD}
  328. ${ac_eA}HAVE_SYSCALL_UNAME${ac_eB}HAVE_SYSCALL_UNAME${ac_eC}1${ac_eD}
  329. ${ac_dA}HAVE_SYSCALL_SIGSUSPEND${ac_dB}HAVE_SYSCALL_SIGSUSPEND${ac_dC}1${ac_dD}
  330. ${ac_uA}HAVE_SYSCALL_SIGSUSPEND${ac_uB}HAVE_SYSCALL_SIGSUSPEND${ac_uC}1${ac_uD}
  331. ${ac_eA}HAVE_SYSCALL_SIGSUSPEND${ac_eB}HAVE_SYSCALL_SIGSUSPEND${ac_eC}1${ac_eD}
  332. ${ac_dA}HAVE_SYSCALL_SIGACTION${ac_dB}HAVE_SYSCALL_SIGACTION${ac_dC}1${ac_dD}
  333. ${ac_uA}HAVE_SYSCALL_SIGACTION${ac_uB}HAVE_SYSCALL_SIGACTION${ac_uC}1${ac_uD}
  334. ${ac_eA}HAVE_SYSCALL_SIGACTION${ac_eB}HAVE_SYSCALL_SIGACTION${ac_eC}1${ac_eD}
  335. ${ac_dA}HAVE_SYSCALL_SIGPROCMASK${ac_dB}HAVE_SYSCALL_SIGPROCMASK${ac_dC}1${ac_dD}
  336. ${ac_uA}HAVE_SYSCALL_SIGPROCMASK${ac_uB}HAVE_SYSCALL_SIGPROCMASK${ac_uC}1${ac_uD}
  337. ${ac_eA}HAVE_SYSCALL_SIGPROCMASK${ac_eB}HAVE_SYSCALL_SIGPROCMASK${ac_eC}1${ac_eD}
  338. CEOF
  339.   sed -f conftest.frag conftest.in > conftest.out
  340.   rm -f conftest.in
  341.   mv conftest.out conftest.in
  342.   cat > conftest.frag <<CEOF
  343. ${ac_dA}HAVE_SYSCALL_GETDENTS${ac_dB}HAVE_SYSCALL_GETDENTS${ac_dC}1${ac_dD}
  344. ${ac_uA}HAVE_SYSCALL_GETDENTS${ac_uB}HAVE_SYSCALL_GETDENTS${ac_uC}1${ac_uD}
  345. ${ac_eA}HAVE_SYSCALL_GETDENTS${ac_eB}HAVE_SYSCALL_GETDENTS${ac_eC}1${ac_eD}
  346. ${ac_dA}HAVE_SYSCALL_READDIR${ac_dB}HAVE_SYSCALL_READDIR${ac_dC}1${ac_dD}
  347. ${ac_uA}HAVE_SYSCALL_READDIR${ac_uB}HAVE_SYSCALL_READDIR${ac_uC}1${ac_uD}
  348. ${ac_eA}HAVE_SYSCALL_READDIR${ac_eB}HAVE_SYSCALL_READDIR${ac_eC}1${ac_eD}
  349. ${ac_dA}HAVE_SYSCALL_WAIT4${ac_dB}HAVE_SYSCALL_WAIT4${ac_dC}1${ac_dD}
  350. ${ac_uA}HAVE_SYSCALL_WAIT4${ac_uB}HAVE_SYSCALL_WAIT4${ac_uC}1${ac_uD}
  351. ${ac_eA}HAVE_SYSCALL_WAIT4${ac_eB}HAVE_SYSCALL_WAIT4${ac_eC}1${ac_eD}
  352. ${ac_dA}HAVE_SYSCALL_WAITPID${ac_dB}HAVE_SYSCALL_WAITPID${ac_dC}1${ac_dD}
  353. ${ac_uA}HAVE_SYSCALL_WAITPID${ac_uB}HAVE_SYSCALL_WAITPID${ac_uC}1${ac_uD}
  354. ${ac_eA}HAVE_SYSCALL_WAITPID${ac_eB}HAVE_SYSCALL_WAITPID${ac_eC}1${ac_eD}
  355. CEOF
  356.   sed -f conftest.frag conftest.in > conftest.out
  357.   rm -f conftest.in
  358.   mv conftest.out conftest.in
  359.   cat > conftest.frag <<CEOF
  360. ${ac_dA}HAVE_SYSCALL_POLL${ac_dB}HAVE_SYSCALL_POLL${ac_dC}1${ac_dD}
  361. ${ac_uA}HAVE_SYSCALL_POLL${ac_uB}HAVE_SYSCALL_POLL${ac_uC}1${ac_uD}
  362. ${ac_eA}HAVE_SYSCALL_POLL${ac_eB}HAVE_SYSCALL_POLL${ac_eC}1${ac_eD}
  363. ${ac_dA}HAVE_SYSCALL_SOCKETCALL${ac_dB}HAVE_SYSCALL_SOCKETCALL${ac_dC}1${ac_dD}
  364. ${ac_uA}HAVE_SYSCALL_SOCKETCALL${ac_uB}HAVE_SYSCALL_SOCKETCALL${ac_uC}1${ac_uD}
  365. ${ac_eA}HAVE_SYSCALL_SOCKETCALL${ac_eB}HAVE_SYSCALL_SOCKETCALL${ac_eC}1${ac_eD}
  366. ${ac_dA}HAVE_SYSCALL_EXIT${ac_dB}HAVE_SYSCALL_EXIT${ac_dC}1${ac_dD}
  367. ${ac_uA}HAVE_SYSCALL_EXIT${ac_uB}HAVE_SYSCALL_EXIT${ac_uC}1${ac_uD}
  368. ${ac_eA}HAVE_SYSCALL_EXIT${ac_eB}HAVE_SYSCALL_EXIT${ac_eC}1${ac_eD}
  369. ${ac_dA}HAVE_SYSCALL_READV${ac_dB}HAVE_SYSCALL_READV${ac_dC}1${ac_dD}
  370. ${ac_uA}HAVE_SYSCALL_READV${ac_uB}HAVE_SYSCALL_READV${ac_uC}1${ac_uD}
  371. ${ac_eA}HAVE_SYSCALL_READV${ac_eB}HAVE_SYSCALL_READV${ac_eC}1${ac_eD}
  372. CEOF
  373.   sed -f conftest.frag conftest.in > conftest.out
  374.   rm -f conftest.in
  375.   mv conftest.out conftest.in
  376.   cat > conftest.frag <<CEOF
  377. ${ac_dA}HAVE_SYSCALL_WRITEV${ac_dB}HAVE_SYSCALL_WRITEV${ac_dC}1${ac_dD}
  378. ${ac_uA}HAVE_SYSCALL_WRITEV${ac_uB}HAVE_SYSCALL_WRITEV${ac_uC}1${ac_uD}
  379. ${ac_eA}HAVE_SYSCALL_WRITEV${ac_eB}HAVE_SYSCALL_WRITEV${ac_eC}1${ac_eD}
  380. ${ac_dA}HAVE_SYSCALL_GETPGRP${ac_dB}HAVE_SYSCALL_GETPGRP${ac_dC}1${ac_dD}
  381. ${ac_uA}HAVE_SYSCALL_GETPGRP${ac_uB}HAVE_SYSCALL_GETPGRP${ac_uC}1${ac_uD}
  382. ${ac_eA}HAVE_SYSCALL_GETPGRP${ac_eB}HAVE_SYSCALL_GETPGRP${ac_eC}1${ac_eD}
  383. ${ac_dA}HAVE_SYSCALL_FORK${ac_dB}HAVE_SYSCALL_FORK${ac_dC}1${ac_dD}
  384. ${ac_uA}HAVE_SYSCALL_FORK${ac_uB}HAVE_SYSCALL_FORK${ac_uC}1${ac_uD}
  385. ${ac_eA}HAVE_SYSCALL_FORK${ac_eB}HAVE_SYSCALL_FORK${ac_eC}1${ac_eD}
  386. ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
  387. ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
  388. ${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
  389. CEOF
  390.   sed -f conftest.frag conftest.in > conftest.out
  391.   rm -f conftest.in
  392.   mv conftest.out conftest.in
  393.   cat > conftest.frag <<CEOF
  394. ${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD}
  395. ${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD}
  396. ${ac_eA}RETSIGTYPE${ac_eB}RETSIGTYPE${ac_eC}void${ac_eD}
  397. ${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
  398. ${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
  399. ${ac_eA}HAVE_SYS_TIME_H${ac_eB}HAVE_SYS_TIME_H${ac_eC}1${ac_eD}
  400. ${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
  401. ${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
  402. ${ac_eA}TIME_WITH_SYS_TIME${ac_eB}TIME_WITH_SYS_TIME${ac_eC}1${ac_eD}
  403. ${ac_dA}_OS_HAS_TIMESPEC${ac_dB}_OS_HAS_TIMESPEC${ac_dC}1${ac_dD}
  404. ${ac_uA}_OS_HAS_TIMESPEC${ac_uB}_OS_HAS_TIMESPEC${ac_uC}1${ac_uD}
  405. ${ac_eA}_OS_HAS_TIMESPEC${ac_eB}_OS_HAS_TIMESPEC${ac_eC}1${ac_eD}
  406. CEOF
  407.   sed -f conftest.frag conftest.in > conftest.out
  408.   rm -f conftest.in
  409.   mv conftest.out conftest.in
  410.   cat > conftest.frag <<CEOF
  411. ${ac_dA}_OS_HAS_SOCKLEN_T${ac_dB}_OS_HAS_SOCKLEN_T${ac_dC}1${ac_dD}
  412. ${ac_uA}_OS_HAS_SOCKLEN_T${ac_uB}_OS_HAS_SOCKLEN_T${ac_uC}1${ac_uD}
  413. ${ac_eA}_OS_HAS_SOCKLEN_T${ac_eB}_OS_HAS_SOCKLEN_T${ac_eC}1${ac_eD}
  414. ${ac_dA}pthread_size_t${ac_dB}pthread_size_t${ac_dC}unsigned int${ac_dD}
  415. ${ac_uA}pthread_size_t${ac_uB}pthread_size_t${ac_uC}unsigned int${ac_uD}
  416. ${ac_eA}pthread_size_t${ac_eB}pthread_size_t${ac_eC}unsigned int${ac_eD}
  417. ${ac_dA}pthread_ssize_t${ac_dB}pthread_ssize_t${ac_dC}int${ac_dD}
  418. ${ac_uA}pthread_ssize_t${ac_uB}pthread_ssize_t${ac_uC}int${ac_uD}
  419. ${ac_eA}pthread_ssize_t${ac_eB}pthread_ssize_t${ac_eC}int${ac_eD}
  420. ${ac_dA}pthread_clock_t${ac_dB}pthread_clock_t${ac_dC}long${ac_dD}
  421. ${ac_uA}pthread_clock_t${ac_uB}pthread_clock_t${ac_uC}long${ac_uD}
  422. ${ac_eA}pthread_clock_t${ac_eB}pthread_clock_t${ac_eC}long${ac_eD}
  423. CEOF
  424.   sed -f conftest.frag conftest.in > conftest.out
  425.   rm -f conftest.in
  426.   mv conftest.out conftest.in
  427.   cat > conftest.frag <<CEOF
  428. ${ac_dA}pthread_time_t${ac_dB}pthread_time_t${ac_dC}long${ac_dD}
  429. ${ac_uA}pthread_time_t${ac_uB}pthread_time_t${ac_uC}long${ac_uD}
  430. ${ac_eA}pthread_time_t${ac_eB}pthread_time_t${ac_eC}long${ac_eD}
  431. ${ac_dA}pthread_fpos_t${ac_dB}pthread_fpos_t${ac_dC}long${ac_dD}
  432. ${ac_uA}pthread_fpos_t${ac_uB}pthread_fpos_t${ac_uC}long${ac_uD}
  433. ${ac_eA}pthread_fpos_t${ac_eB}pthread_fpos_t${ac_eC}long${ac_eD}
  434. ${ac_dA}pthread_off_t${ac_dB}pthread_off_t${ac_dC}long${ac_dD}
  435. ${ac_uA}pthread_off_t${ac_uB}pthread_off_t${ac_uC}long${ac_uD}
  436. ${ac_eA}pthread_off_t${ac_eB}pthread_off_t${ac_eC}long${ac_eD}
  437. ${ac_dA}pthread_va_list${ac_dB}pthread_va_list${ac_dC}void *${ac_dD}
  438. ${ac_uA}pthread_va_list${ac_uB}pthread_va_list${ac_uC}void *${ac_uD}
  439. ${ac_eA}pthread_va_list${ac_eB}pthread_va_list${ac_eC}void *${ac_eD}
  440. CEOF
  441.   sed -f conftest.frag conftest.in > conftest.out
  442.   rm -f conftest.in
  443.   mv conftest.out conftest.in
  444.   cat > conftest.frag <<CEOF
  445. ${ac_dA}pthread_ipaddr_type${ac_dB}pthread_ipaddr_type${ac_dC}unsigned int${ac_dD}
  446. ${ac_uA}pthread_ipaddr_type${ac_uB}pthread_ipaddr_type${ac_uC}unsigned int${ac_uD}
  447. ${ac_eA}pthread_ipaddr_type${ac_eB}pthread_ipaddr_type${ac_eC}unsigned int${ac_eD}
  448. ${ac_dA}pthread_ipport_type${ac_dB}pthread_ipport_type${ac_dC}unsigned short${ac_dD}
  449. ${ac_uA}pthread_ipport_type${ac_uB}pthread_ipport_type${ac_uC}unsigned short${ac_uD}
  450. ${ac_eA}pthread_ipport_type${ac_eB}pthread_ipport_type${ac_eC}unsigned short${ac_eD}
  451. ${ac_dA}_PATH_PTY${ac_dB}_PATH_PTY${ac_dC}"/dev/"${ac_dD}
  452. ${ac_uA}_PATH_PTY${ac_uB}_PATH_PTY${ac_uC}"/dev/"${ac_uD}
  453. ${ac_eA}_PATH_PTY${ac_eB}_PATH_PTY${ac_eC}"/dev/"${ac_eD}
  454. ${ac_dA}_PATH_TZDIR${ac_dB}_PATH_TZDIR${ac_dC}"/usr/share/zoneinfo"${ac_dD}
  455. ${ac_uA}_PATH_TZDIR${ac_uB}_PATH_TZDIR${ac_uC}"/usr/share/zoneinfo"${ac_uD}
  456. ${ac_eA}_PATH_TZDIR${ac_eB}_PATH_TZDIR${ac_eC}"/usr/share/zoneinfo"${ac_eD}
  457. CEOF
  458.   sed -f conftest.frag conftest.in > conftest.out
  459.   rm -f conftest.in
  460.   mv conftest.out conftest.in
  461.   cat > conftest.frag <<CEOF
  462. ${ac_dA}_PATH_TZFILE${ac_dB}_PATH_TZFILE${ac_dC}"/etc/localtime"${ac_dD}
  463. ${ac_uA}_PATH_TZFILE${ac_uB}_PATH_TZFILE${ac_uC}"/etc/localtime"${ac_uD}
  464. ${ac_eA}_PATH_TZFILE${ac_eB}_PATH_TZFILE${ac_eC}"/etc/localtime"${ac_eD}
  465. ${ac_dA}_PATH_RESCONF${ac_dB}_PATH_RESCONF${ac_dC}"/etc/resolv.conf"${ac_dD}
  466. ${ac_uA}_PATH_RESCONF${ac_uB}_PATH_RESCONF${ac_uC}"/etc/resolv.conf"${ac_uD}
  467. ${ac_eA}_PATH_RESCONF${ac_eB}_PATH_RESCONF${ac_eC}"/etc/resolv.conf"${ac_eD}
  468. ${ac_dA}_PATH_HOSTS${ac_dB}_PATH_HOSTS${ac_dC}"/etc/hosts"${ac_dD}
  469. ${ac_uA}_PATH_HOSTS${ac_uB}_PATH_HOSTS${ac_uC}"/etc/hosts"${ac_uD}
  470. ${ac_eA}_PATH_HOSTS${ac_eB}_PATH_HOSTS${ac_eC}"/etc/hosts"${ac_eD}
  471. ${ac_dA}_PATH_NETWORKS${ac_dB}_PATH_NETWORKS${ac_dC}"/etc/networks"${ac_dD}
  472. ${ac_uA}_PATH_NETWORKS${ac_uB}_PATH_NETWORKS${ac_uC}"/etc/networks"${ac_uD}
  473. ${ac_eA}_PATH_NETWORKS${ac_eB}_PATH_NETWORKS${ac_eC}"/etc/networks"${ac_eD}
  474. CEOF
  475.   sed -f conftest.frag conftest.in > conftest.out
  476.   rm -f conftest.in
  477.   mv conftest.out conftest.in
  478.   cat > conftest.frag <<CEOF
  479. ${ac_dA}_PATH_PROTOCOLS${ac_dB}_PATH_PROTOCOLS${ac_dC}"/etc/protocols"${ac_dD}
  480. ${ac_uA}_PATH_PROTOCOLS${ac_uB}_PATH_PROTOCOLS${ac_uC}"/etc/protocols"${ac_uD}
  481. ${ac_eA}_PATH_PROTOCOLS${ac_eB}_PATH_PROTOCOLS${ac_eC}"/etc/protocols"${ac_eD}
  482. ${ac_dA}_PATH_SERVICES${ac_dB}_PATH_SERVICES${ac_dC}"/etc/services"${ac_dD}
  483. ${ac_uA}_PATH_SERVICES${ac_uB}_PATH_SERVICES${ac_uC}"/etc/services"${ac_uD}
  484. ${ac_eA}_PATH_SERVICES${ac_eB}_PATH_SERVICES${ac_eC}"/etc/services"${ac_eD}
  485. ${ac_dA}_PATH_BSHELL${ac_dB}_PATH_BSHELL${ac_dC}"/bin/sh"${ac_dD}
  486. ${ac_uA}_PATH_BSHELL${ac_uB}_PATH_BSHELL${ac_uC}"/bin/sh"${ac_uD}
  487. ${ac_eA}_PATH_BSHELL${ac_eB}_PATH_BSHELL${ac_eC}"/bin/sh"${ac_eD}
  488. ${ac_dA}HAVE_VFORK${ac_dB}HAVE_VFORK${ac_dC}1${ac_dD}
  489. ${ac_uA}HAVE_VFORK${ac_uB}HAVE_VFORK${ac_uC}1${ac_uD}
  490. ${ac_eA}HAVE_VFORK${ac_eB}HAVE_VFORK${ac_eC}1${ac_eD}
  491. CEOF
  492.   sed -f conftest.frag conftest.in > conftest.out
  493.   rm -f conftest.in
  494.   mv conftest.out conftest.in
  495.   cat > conftest.frag <<CEOF
  496. s%^[  ]*#[  ]*undef[  ][  ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  497. CEOF
  498.   sed -f conftest.frag conftest.in > conftest.out
  499.   rm -f conftest.in
  500.   mv conftest.out conftest.in
  501.   rm -f conftest.frag conftest.h
  502.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  503.   cat conftest.in >> conftest.h
  504.   rm -f conftest.in
  505.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  506.     echo "$ac_file is unchanged"
  507.     rm -f conftest.h
  508.   else
  509.     # Remove last slash and all that follows it.  Not all systems have dirname.
  510.       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  511.       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  512.       # The file is in a subdirectory.
  513.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  514.     fi
  515.     rm -f $ac_file
  516.     mv conftest.h $ac_file
  517.   fi
  518. fi; done
  519. ac_sources="../machdep/engine-i386-linux-2.0.h ../machdep/posix-linux-2.0.h  ../machdep/engine-i386-linux-2.0.c ../machdep/syscall-i386-linux-2.0.S ../machdep/linux-2.0 ../machdep/linux-2.0/extra/bits"
  520. ac_dests="include/pthread/machdep.h include/pthread/posix.h  machdep.c syscall.S include/sys include/bits"
  521. srcdir=$ac_given_srcdir
  522. while test -n "$ac_sources"; do
  523.   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
  524.   set $ac_sources; ac_source=$1; shift; ac_sources=$*
  525.   echo "linking $srcdir/$ac_source to $ac_dest"
  526.   if test ! -r $srcdir/$ac_source; then
  527.     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
  528.   fi
  529.   rm -f $ac_dest
  530.   # Make relative symlinks.
  531.   # Remove last slash and all that follows it.  Not all systems have dirname.
  532.   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
  533.   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
  534.     # The dest file is in a subdirectory.
  535.     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
  536.     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^./%%'`"
  537.     # A "../" for each directory in $ac_dest_dir_suffix.
  538.     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
  539.   else
  540.     ac_dest_dir_suffix= ac_dots=
  541.   fi
  542.   case "$srcdir" in
  543.   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
  544.   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
  545.   esac
  546.   # Make a symlink if possible; otherwise try a hard link.
  547.   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
  548.     ln $srcdir/$ac_source $ac_dest; then :
  549.   else
  550.     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
  551.   fi
  552. done
  553. exit 0