1 | # |
---|
2 | # Copyright 2005 The Apache Software Foundation |
---|
3 | # |
---|
4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
---|
5 | # you may not use this file except in compliance with the License. |
---|
6 | # You may obtain a copy of the License at |
---|
7 | # |
---|
8 | # http://www.apache.org/licenses/LICENSE-2.0 |
---|
9 | # |
---|
10 | # Unless required by applicable law or agreed to in writing, software |
---|
11 | # distributed under the License is distributed on an "AS IS" BASIS, |
---|
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
13 | # See the License for the specific language governing permissions and |
---|
14 | # limitations under the License. |
---|
15 | # |
---|
16 | # Autoconf input file |
---|
17 | # $Id$ |
---|
18 | # AC - autoconf |
---|
19 | ######################################################################### |
---|
20 | # Section 1: |
---|
21 | # DO NOT TOUCH EXCEPT TO CHANGE Product-Name and Rev# IN AC_INIT |
---|
22 | |
---|
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 | |
---|
31 | |
---|
32 | |
---|
33 | #case $target in |
---|
34 | #*64*intel) |
---|
35 | # OS_ARCH=intel64 ;; |
---|
36 | #*64*amd* | *64*unknown*) |
---|
37 | # OS_ARCH=amd64 ;; |
---|
38 | #$esac |
---|
39 | #AC_SUBST(OS_ARCH) |
---|
40 | DEFS="" |
---|
41 | AC_SUBST([DEFS]) |
---|
42 | |
---|
43 | AC_FUNC_GETGROUPS |
---|
44 | AC_TYPE_GETGROUPS |
---|
45 | |
---|
46 | ############################################################################ |
---|
47 | # Section 2: |
---|
48 | # User Configurable system defaults. Change With CAUTION! |
---|
49 | |
---|
50 | # User can include custom makefile rules. Uncomment and update only <name> in PRODUCT_MK. |
---|
51 | # Include where appropriate in any Makefile.am as @PRODUCT_MK@ |
---|
52 | |
---|
53 | # Default path to external components and shared build tools |
---|
54 | # To point to other locations set environment variable EXTERNAL_PATH. |
---|
55 | # DO NOT change default. Changing default value requires changing bootstrap.sh. |
---|
56 | FUSE_DFS_WITH_EXTERNAL_PATH([`pwd`]) |
---|
57 | |
---|
58 | # 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' |
---|
59 | # FUSE_DFSENABLE_DEFAULT_DEBUG_BUILD |
---|
60 | FUSE_DFS_ENABLE_DEFAULT_OPT_BUILD |
---|
61 | |
---|
62 | # Predefined macro to set static library mode. Configure with --disable-static option to turn off static lib mode. |
---|
63 | # FUSE_DFS_ENABLE_DEFAULT_SHARED |
---|
64 | FUSE_DFS_ENABLE_DEFAULT_STATIC |
---|
65 | |
---|
66 | AC_CONFIG_FILES(Makefile src/Makefile) |
---|
67 | |
---|
68 | |
---|
69 | ############################################################################ |
---|
70 | # Section 4: |
---|
71 | # DO NOT TOUCH. |
---|
72 | |
---|
73 | AC_SUBST(PRODUCT_MK) |
---|
74 | AC_OUTPUT |
---|