44a3777eb38d94319871ba97b25af8b8aa60e50e
Lunar Import build system from pr...

Lunar authored 10 years ago

1) AC_INIT([tor-browser-user-manual],
2)         m4_esyscmd([build-aux/git-version-gen .version]),
3)         [tbb-dev@lists.torproject.org])
4) 
5) AM_INIT_AUTOMAKE([foreign])
6) 
Lunar Retrieve Tor Browser versio...

Lunar authored 10 years ago

7) AC_ARG_WITH(tor-browser-bundle,
8)             AC_HELP_STRING([--with-tor-browser-bundle=PROGRAM],
9)                            [location of the clone of tor-browser-bundle.git]),
10)             [tor_browser_bundle_dir=$withval])
11) VERSIONS_PATH="${tor_browser_bundle_dir}/gitian/versions"
12) if ! sh -n "$VERSIONS_PATH" 2>/dev/null; then
13)     AC_MSG_ERROR([Please clone tor-browser-bundle.git and specify its location using --with-tor-browser-bundle])
14) fi
15) 
16) TOR_BROWSER_VERSION=$(. "$VERSIONS_PATH"; echo "$TORBROWSER_VERSION")
17) if test "x$TOR_BROWSER_VERSION" = "x"; then
18)     AC_MSG_ERROR([Couldn't determine Tor Browser version.])
19) fi
20) TOR_BROWSER_BUNDLE_LOCALES=$(. "$VERSIONS_PATH"; echo "$BUNDLE_LOCALES")
21) 
Lunar Enable out-of-source-tree b...

Lunar authored 10 years ago

22) AC_SUBST(TOR_BROWSER_VERSION)
Lunar Retrieve Tor Browser versio...

Lunar authored 10 years ago

23) AC_SUBST(TOR_BROWSER_BUNDLE_LOCALES)
24) 
Lunar Import build system from pr...

Lunar authored 10 years ago

25) YELP_HELP_INIT
26) 
27) AC_CONFIG_FILES([Makefile
Lunar Enable out-of-source-tree b...

Lunar authored 10 years ago

28)                  include/tor-browser-version.xml])