s_config
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:1k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. #!/bin/sh -
  2. # $Id: s_config,v 1.3 2000/07/13 18:38:46 bostic Exp $
  3. #
  4. # Build the autoconfiguration files.
  5. msgm4="dnl DO NOT EDIT: automatically built by dist/s_config."
  6. . ./RELEASE
  7. echo "Building aclocal.m4"
  8. rm -f aclocal.m4
  9. (echo "$msgm4" &&
  10.  echo "AC_DEFUN(AM_VERSION_SET, [" &&
  11.  echo "AC_SUBST(DB_VERSION_MAJOR)" &&
  12.  echo "DB_VERSION_MAJOR=$DB_VERSION_MAJOR" &&
  13.  echo "AC_SUBST(DB_VERSION_MINOR)" &&
  14.  echo "DB_VERSION_MINOR=$DB_VERSION_MINOR" &&
  15.  echo "AC_SUBST(DB_VERSION_PATCH)" &&
  16.  echo "DB_VERSION_PATCH=$DB_VERSION_PATCH" &&
  17.  echo "AC_SUBST(DB_VERSION_STRING)" &&
  18.  echo "DB_VERSION_STRING="\"$DB_VERSION_STRING\""" &&
  19.  echo "])dnl" &&
  20.  cat aclocal/*.m4) > aclocal.m4
  21. chmod 444 aclocal.m4
  22. rm -f config.hin
  23. echo "Building config.hin (autoheader)"
  24. (autoheader configure.in > config.hin) 2>&1 | 
  25.     sed '/warning: AC_TRY_RUN called without default/d'
  26. chmod 444 config.hin
  27. rm -f configure
  28. echo "Building configure (autoconf)"
  29. autoconf 2>&1 | sed '/warning: AC_TRY_RUN called without default/d'
  30. chmod 555 configure config.guess config.sub install-sh
  31. rm -f aclocal.m4