configure.ac 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. # -*- Autoconf -*-
  18. # Process this file with autoconf to produce a configure script.
  19. AC_PREREQ(2.59)
  20. AC_INIT(hadoop-pipes, 0.13.0, omalley@apache.org)
  21. AC_CONFIG_AUX_DIR([config])
  22. AC_CONFIG_MACRO_DIR([../utils/m4])
  23. AM_INIT_AUTOMAKE([subdir-objects foreign no-dist])
  24. AC_CONFIG_SRCDIR([impl/HadoopPipes.cc])
  25. AC_CONFIG_HEADER([impl/config.h])
  26. AC_CONFIG_FILES([Makefile])
  27. AC_PREFIX_DEFAULT(`pwd`/../install)
  28. USE_HADOOP_UTILS
  29. HADOOP_PIPES_SETUP
  30. CHECK_INSTALL_CFLAG
  31. # Checks for programs.
  32. AC_PROG_CXX
  33. AC_PROG_LIBTOOL
  34. # Checks for libraries.
  35. # Checks for header files.
  36. AC_LANG(C++)
  37. AC_CHECK_HEADERS([unistd.h])
  38. # Checks for typedefs, structures, and compiler characteristics.
  39. AC_HEADER_STDBOOL
  40. AC_C_CONST
  41. AC_TYPE_OFF_T
  42. AC_TYPE_SIZE_T
  43. AC_FUNC_STRERROR_R
  44. # Checks for library functions.
  45. AC_CHECK_FUNCS([mkdir uname])
  46. AC_OUTPUT