configure.ac 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # 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 input file
  18. # $Id$
  19. # AC - autoconf
  20. #########################################################################
  21. # Section 1:
  22. # DO NOT TOUCH EXCEPT TO CHANGE Product-Name and Rev# IN AC_INIT
  23. AC_PREREQ(2.52)
  24. AC_INIT([fuse_dfs], [0.1.0])
  25. #AC_CONFIG_AUX_DIR([/usr/share/automake-1.9])
  26. # To install locally
  27. AC_CANONICAL_TARGET()
  28. FUSE_DFS_INITIALIZE([localinstall])
  29. AC_PREFIX_DEFAULT([`pwd`])
  30. #case $target in
  31. #*64*intel)
  32. # OS_ARCH=intel64 ;;
  33. #*64*amd* | *64*unknown*)
  34. # OS_ARCH=amd64 ;;
  35. #$esac
  36. #AC_SUBST(OS_ARCH)
  37. DEFS=""
  38. AC_SUBST([DEFS])
  39. # Need GNU source for multiple hashtables from glibc
  40. AC_GNU_SOURCE
  41. AC_FUNC_GETGROUPS
  42. AC_TYPE_GETGROUPS
  43. AC_PROG_CC
  44. AC_SYS_LARGEFILE
  45. ############################################################################
  46. # Section 2:
  47. # User Configurable system defaults. Change With CAUTION!
  48. # User can include custom makefile rules. Uncomment and update only <name> in PRODUCT_MK.
  49. # Include where appropriate in any Makefile.am as @PRODUCT_MK@
  50. # Default path to external components and shared build tools
  51. # To point to other locations set environment variable EXTERNAL_PATH.
  52. # DO NOT change default. Changing default value requires changing bootstrap.sh.
  53. FUSE_DFS_WITH_EXTERNAL_PATH([`pwd`])
  54. # Pre-defined macro to set optimized build mode. Configure with --disable-opt option to turn off optimization. Default CXXFLAGS set to '-Wall -O3'. In debug mode CXXFLAGS is '-Wall -g'
  55. # FUSE_DFSENABLE_DEFAULT_DEBUG_BUILD
  56. FUSE_DFS_ENABLE_DEFAULT_OPT_BUILD
  57. # Predefined macro to set static library mode. Configure with --disable-static option to turn off static lib mode.
  58. # FUSE_DFS_ENABLE_DEFAULT_SHARED
  59. FUSE_DFS_ENABLE_DEFAULT_STATIC
  60. AC_CONFIG_FILES(Makefile src/Makefile)
  61. ############################################################################
  62. # Section 4:
  63. # DO NOT TOUCH.
  64. AC_SUBST(PRODUCT_MK)
  65. AC_OUTPUT