configure.ac 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright (c) 2010, Florian Reuter
  2. # All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms, with or without
  5. # modification, are permitted provided that the following conditions
  6. # are met:
  7. #
  8. # * Redistributions of source code must retain the above copyright
  9. # notice, this list of conditions and the following disclaimer.
  10. # * Redistributions in binary form must reproduce the above copyright
  11. # notice, this list of conditions and the following disclaimer in
  12. # the documentation and/or other materials provided with the
  13. # distribution.
  14. # * Neither the name of Florian Reuter nor the names of its contributors
  15. # may be used to endorse or promote products derived from this
  16. # software without specific prior written permission.
  17. #
  18. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  21. # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  22. # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  23. # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  24. # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  25. # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  26. # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  27. # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  28. # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  29. # OF THE POSSIBILITY OF SUCH DAMAGE.
  30. AC_INIT([plib])
  31. AC_CHECK_HEADERS([stdint.h])
  32. AC_CHECK_HEADERS([stddef.h])
  33. AC_CHECK_HEADERS([stdio.h])
  34. AC_CHECK_HEADERS([string.h])
  35. AC_CHECK_HEADERS([limits.h])
  36. AC_CHECK_HEADERS([stdlib.h])
  37. AC_CHECK_HEADERS([io.h])
  38. AC_CHECK_HEADERS([unistd.h])
  39. AC_CHECK_HEADERS([sys/types.h])
  40. AC_DEFINE(IS_CONFIGURED)
  41. AC_CONFIG_HEADERS([include/plib/plib.h:config/msvc/plib/include/plib/plib.h])
  42. AC_OUTPUT