diff options
author | Feffernoose <fefferburbia@gmail.com> | 2013-10-01 18:15:22 -0400 |
---|---|---|
committer | Feffernoose <fefferburbia@gmail.com> | 2013-10-01 18:15:22 -0400 |
commit | 8de3134bf2cd26ff81359df703e5fbc6280448d7 (patch) | |
tree | 325e99abac6b7e3316334af7961645e9381e6517 /configure.ac | |
parent | 2b1f8c3363ef667bc20f33bbb5a856a35f2591ba (diff) | |
download | rawr-ebooks-8de3134bf2cd26ff81359df703e5fbc6280448d7.tar.gz rawr-ebooks-8de3134bf2cd26ff81359df703e5fbc6280448d7.tar.bz2 rawr-ebooks-8de3134bf2cd26ff81359df703e5fbc6280448d7.zip |
Wrote program
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c1c50bf..31cf8b9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -4,4 +4,32 @@ AM_INIT_AUTOMAKE([1.10 no-define foreign]) | |||
4 | AC_PROG_CXX | 4 | AC_PROG_CXX |
5 | AC_CONFIG_FILES([Makefile]) | 5 | AC_CONFIG_FILES([Makefile]) |
6 | 6 | ||
7 | # Get libtwitcurl library and include locations | ||
8 | AC_ARG_WITH([libtwitcurl-include-path], | ||
9 | [AS_HELP_STRING([--with-libtwitcurl-include-path], | ||
10 | [location of the libtwitcurl headers, defaults to /usr/include])], | ||
11 | [LIBTWITCURL_CFLAGS="-I$withval"], | ||
12 | [LIBTWITCURL_CFLAGS='']) | ||
13 | AC_SUBST([LIBTWITCURL_CFLAGS]) | ||
14 | |||
15 | AC_ARG_WITH([libtwitcurl-lib-path], | ||
16 | [AS_HELP_STRING([--with-libtwitcurl-lib-path], [location of the libtwitcurl libraries])], | ||
17 | [LIBTWITCURL_LIBS="-L$withval -llibtwitcurl"], | ||
18 | [LIBTWITCURL_LIBS='-ltwitcurl']) | ||
19 | AC_SUBST([LIBTWITCURL_LIBS]) | ||
20 | |||
21 | # Get yaml-cpp library and include locations | ||
22 | AC_ARG_WITH([yamlcpp-include-path], | ||
23 | [AS_HELP_STRING([--with-yamlcpp-include-path], | ||
24 | [location of the yamlcpp headers, defaults to /usr/include])], | ||
25 | [YAML_CFLAGS="-I$withval"], | ||
26 | [YAML_CFLAGS='']) | ||
27 | AC_SUBST([YAML_CFLAGS]) | ||
28 | |||
29 | AC_ARG_WITH([yamlcpp-lib-path], | ||
30 | [AS_HELP_STRING([--with-yamlcpp-lib-path], [location of the yamlcpp libraries])], | ||
31 | [YAML_LIBS="-L$withval -lyaml-cpp"], | ||
32 | [YAML_LIBS='-lyaml-cpp']) | ||
33 | AC_SUBST([YAML_LIBS]) | ||
34 | |||
7 | AC_OUTPUT | 35 | AC_OUTPUT |