選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

33 行
1.1KB

  1. dnl Process this file with autoconf to produce a configure script.
  2. dnl
  3. dnl This file is free software; as a special exception the author gives
  4. dnl unlimited permission to copy and/or distribute it, with or without
  5. dnl modifications, as long as this notice is preserved.
  6. dnl
  7. dnl This program is distributed in the hope that it will be useful, but
  8. dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  9. dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. m4_include([version.m4])
  11. AC_INIT([blackjack],[libreblackjackversion],[jeremy@seamplex.com])
  12. AM_INIT_AUTOMAKE
  13. # AM_GNU_GETTEXT([external])
  14. AC_CONFIG_SRCDIR([src/main.cpp])
  15. AC_PROG_CXX
  16. AC_CHECK_HEADER([readline/readline.h])
  17. AC_CHECK_LIB([readline], [readline])
  18. AC_MSG_NOTICE([creating version-conf.h])
  19. cat << EOF > src/version-conf.h
  20. #define COMPILATION_ARCH "${host_os} ${host_cpu}"
  21. #define COMPILER_VERSION "`$CXX --version | head -n1`"
  22. #define COMPILER_CFLAGS "$CFLAGS"
  23. EOF
  24. #AC_CONFIG_FILES([Makefile doc/Makefile po/Makefile.in])
  25. AC_CONFIG_FILES([Makefile])
  26. AC_OUTPUT