Skip to content
Newer
Older
100644 35 lines (32 sloc) 1.73 KB
c98254b @novas0x2a relicense everything. woo.
novas0x2a authored Feb 17, 2009
1 dnl __BEGIN_LICENSE__
426c2c3 all: Relicense VW as Apache 2
Zack Moratto authored Jun 5, 2012
2 dnl Copyright (c) 2006-2012, United States Government as represented by the
3 dnl Administrator of the National Aeronautics and Space Administration. All
4 dnl rights reserved.
5 dnl
6 dnl The NASA Vision Workbench is licensed under the Apache License,
7 dnl Version 2.0 (the "License"); you may not use this file except in
8 dnl compliance with the License. You may obtain a copy of the License at
9 dnl http://www.apache.org/licenses/LICENSE-2.0
10 dnl
11 dnl Unless required by applicable law or agreed to in writing, software
12 dnl distributed under the License is distributed on an "AS IS" BASIS,
13 dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 dnl See the License for the specific language governing permissions and
15 dnl limitations under the License.
c98254b @novas0x2a relicense everything. woo.
novas0x2a authored Feb 17, 2009
16 dnl __END_LICENSE__
17
18
dbf23f9 @novas0x2a add ax_pkg_one_of, and use it
novas0x2a authored Jan 3, 2009
19 dnl AX_PKG_ONE_OF(<name>, <alt1-name>, <alt1-check>, ... [<altn-name>, <altn-check>])
20 dnl Declare a package to be fulfilled if one of its alts are found.
21 dnl alt-name is a package name, and alt-check is code that checks for the package
22 dnl alt-check should define HAVE_PKG_ALTNAME
23 AC_DEFUN([AX_PKG_ONE_OF],
24 [m4_case($#,
25 0, [m4_fatal([$0: too few arguments: $#])],
26 2, [m4_ifset([$2], [m4_fatal([$0: too few arguments: [$1] [$2] $#])], [$0([$1])])],
27 1, [AX_GROUP_PKG([$1])],
75352e6 @novas0x2a fix vw for autoconf-2.64
novas0x2a authored Sep 15, 2009
28 [AS_IF([test ! -z "$PKG_$1_CPPFLAGS"], [PKG_$2_CPPFLAGS="$PKG_$2_CPPFLAGS $PKG_$1_CPPFLAGS"]) # push cppflags to child
29 AS_IF([test ! -z "$PKG_$1_LDFLAGS"], [PKG_$2_LDFLAGS="$PKG_$2_LDFLAGS $PKG_$1_LDFLAGS"]) # push ldflags to child
30 AS_IF([test -z "$HAVE_PKG_$2"], [HAVE_PKG_$2="$HAVE_PKG_$1"]) # push have_pkg to child if it doesn't have one
c1f4db8 @novas0x2a fix annoying bug in build.
novas0x2a authored Jan 26, 2009
31 $3
32 AS_IF([test x"$HAVE_PKG_$2" = "xyes"], [AX_GROUP_PKG([$1], [$2])],
33 [$0([$1], m4_shiftn(3, $@))])]
dbf23f9 @novas0x2a add ax_pkg_one_of, and use it
novas0x2a authored Jan 3, 2009
34 )])
Something went wrong with that request. Please try again.