configure.ac 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Process this file with autoconf to create configure. -*- autoconf -*-
  2. #
  3. # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
  4. # Foundation, Inc.
  5. # Written by Gary V. Vaughan, 2004
  6. #
  7. # NOTE: The canonical source of this file is maintained with the
  8. # GNU Libtool package. Report bugs to bug-libtool@gnu.org.
  9. #
  10. # GNU Libltdl is free software; you can redistribute it and/or
  11. # modify it under the terms of the GNU Lesser General Public
  12. # License as published by the Free Software Foundation; either
  13. # version 2 of the License, or (at your option) any later version.
  14. #
  15. # As a special exception to the GNU Lesser General Public License,
  16. # if you distribute this file as part of a program or library that
  17. # is built using GNU libtool, you may include this file under the
  18. # same distribution terms that you use for the rest of that program.
  19. #
  20. # GNU Libltdl is distributed in the hope that it will be useful,
  21. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. # GNU Lesser General Public License for more details.
  24. #
  25. # You should have received a copy of the GNU LesserGeneral Public
  26. # License along with GNU Libltdl; see the file COPYING.LIB. If not, a
  27. # copy can be downloaded from http://www.gnu.org/licenses/lgpl.html,
  28. # or obtained by writing to the Free Software Foundation, Inc.,
  29. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  30. ####
  31. # This configure.ac is not used at all by the libtool bootstrap, but
  32. # is copied to the ltdl subdirectory if you libtoolize --ltdl your own
  33. # project. Adding LT_WITH_LTDL to your project configure.ac will then
  34. # configure this directory if your user doesn't want to use the installed
  35. # libltdl.
  36. AC_PREREQ(2.59)dnl We use AS_HELP_STRING
  37. ## ------------------------ ##
  38. ## Autoconf initialisation. ##
  39. ## ------------------------ ##
  40. AC_INIT([libltdl], [2.4.3a], [bug-libtool@gnu.org])
  41. AC_CONFIG_HEADERS([config.h:config-h.in])
  42. AC_CONFIG_SRCDIR([ltdl.c])
  43. AC_CONFIG_AUX_DIR([../build-aux])
  44. LT_CONFIG_LTDL_DIR([.]) # I am me!
  45. ## ------------------------ ##
  46. ## Automake Initialisation. ##
  47. ## ------------------------ ##
  48. AM_INIT_AUTOMAKE([gnu subdir-objects])
  49. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
  50. ## ------------------------------- ##
  51. ## Libtool specific configuration. ##
  52. ## ------------------------------- ##
  53. pkgdatadir='$datadir'"/$PACKAGE"
  54. ## ----------------------- ##
  55. ## Libtool initialisation. ##
  56. ## ----------------------- ##
  57. LT_INIT([dlopen win32-dll])
  58. _LTDL_SETUP
  59. ## -------- ##
  60. ## Outputs. ##
  61. ## -------- ##
  62. AC_CONFIG_FILES([Makefile])
  63. AC_OUTPUT