configure.ac 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # /*
  2. # * Copyright 2021 籽籮籮 籵籮籮籯类籲籷籰
  3. # *
  4. # * This includes splay Copyright (C) 1998-2021 Free Software Foundation, Inc.
  5. # * This includes Copyright (C) 2008, 2011 Matthias Stallmann, Saurabh Gupta.
  6. # * This includes Copyright (C) 2009 MiptVis GNU GPL version 3+ Boris Shurygin
  7. # * Junio H Hamano gitster@pobox.com
  8. # *
  9. # * This program is free software: you can redistribute it and/or modify
  10. # * it under the terms of the GNU General Public License as published by
  11. # * the Free Software Foundation, either version 3 of the License, or
  12. # * (at your option) any later version.
  13. # *
  14. # * This program is distributed in the hope that it will be useful,
  15. # * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. # * GNU General Public License for more details.
  18. # *
  19. # * You should have received a copy of the GNU General Public License
  20. # * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. # *
  22. # * These are the four essential freedoms with GNU GPL software:
  23. # * 1: freedom to run the program, for any purpose
  24. # * 2: freedom to study how the program works, and change it to make it do what you wish
  25. # * 3: freedom to redistribute copies to help your Free Software friends
  26. # * 4: freedom to distribute copies of your modified versions to your Free Software friends
  27. # * , ,
  28. # * / \
  29. # * ((__-^^-,-^^-__))
  30. # * `-_---' `---_-'
  31. # * `--|o` 'o|--'
  32. # * \ ` /
  33. # * ): :(
  34. # * :o_o:
  35. # * "-"
  36. # *
  37. # * SPDX-License-Identifier: GPL-3.0+
  38. # * License-Filename: LICENSE
  39. # */
  40. AC_PREREQ([2.69])
  41. AC_INIT([gmlt], [1.0], [mooigraph@gmail.com], [gmlt.tar.gz], [https://sourceforge.net/projects/gml4gtk])
  42. AC_CONFIG_SRCDIR([src/main.h])
  43. AC_CONFIG_HEADERS([config.h])
  44. AM_INIT_AUTOMAKE
  45. AC_LANG(C)
  46. # Checks for programs.
  47. AC_PROG_CC
  48. AC_PROG_MAKE_SET
  49. PKG_PROG_PKG_CONFIG
  50. AM_SILENT_RULES([no])
  51. # Checks for libraries.
  52. AC_CHECK_LIB([m], [sqrt])
  53. # Checks for header files.
  54. AC_CHECK_HEADERS([limits.h stdlib.h stdint.h string.h inttypes.h unistd.h])
  55. AC_CONFIG_FILES([Makefile src/Makefile])
  56. AC_OUTPUT
  57. # end.