1 # Process this file with autoconf to produce a configure script.
4 AC_INIT([got-portable],
5 m4_esyscmd_s(util/got-portable-ver.sh),
8 AC_CONFIG_SRCDIR([lib/rcsutil.h])
9 AM_INIT_AUTOMAKE([foreign subdir-objects])
11 AC_CONFIG_HEADERS([include/got_compat.h])
13 AC_DEFINE_UNQUOTED(VERSION, $VERSION)
17 AC_DEFINE_UNQUOTED([GOT_VERSION], VERSION, [GoT version string])
18 AC_DEFINE_UNQUOTED([GOT_VERSION_NUMBER], VERSION, [Got version number])
20 AC_USE_SYSTEM_EXTENSIONS
23 AC_CONFIG_SUBDIRS([template])
25 AS_HELP_STRING([--enable-cvg],
26 [EXPERIMENTAL: cvg - cvs-like-git]))
28 # Override gotd's empty_path location.
29 AC_ARG_WITH([gotd-empty-path],
30 [AS_HELP_STRING([--with-gotd-empty-path],
33 [GOTD_EMPTY_PATHC=$withval]
35 AC_SUBST(GOTD_EMPTY_PATHC)
37 # Override where git's libexec helpers are located for gitwrapper.
38 AC_ARG_WITH([gitwrapper-git-libexec-path],
39 [AS_HELP_STRING([--with-gitwrapper-git-libexec-path],
40 [git libexec path for gitwrapper])
42 [GITWRAPPER_LIBEXEC_PATHC=$withval]
44 AC_SUBST(GITWRAPPER_LIBEXEC_PATHC)
46 # When CFLAGS isn't set at this stage and gcc is detected by the macro below,
47 # autoconf will automatically use CFLAGS="-O2 -g". Prevent that by using an
51 # Save user CPPFLAGS, CFLAGS and LDFLAGS. We need to change them because
52 # AC_CHECK_HEADER doesn't give us any other way to update the include
53 # paths. But for Makefile.am we want to use AM_CPPFLAGS and friends.
54 SAVED_CFLAGS="$CFLAGS"
55 SAVED_CPPFLAGS="$CPPFLAGS"
56 SAVED_LDFLAGS="$LDFLAGS"
61 # Checks for programs.
67 if test -z "$YACC"; then
75 if test "$YACC_OVERRIDE" = "yes"; then
76 AC_MSG_NOTICE("Using YACC set from environment: $YACC")
79 # Checks for header files.
115 AC_CHECK_DECL([F_CLOSEM],
117 AC_DEFINE([HAVE_FCNTL_CLOSEM], [1],
118 [Use F_CLOSEM fcntl for closefrom]),
125 AC_MSG_CHECKING([for /proc/pid/fd directory])
126 if test -d "/proc/$$/fd" ; then
127 AC_DEFINE([HAVE_PROC_PID], [1], [Define if you have /proc/$pid/fd])
133 AC_MSG_CHECKING([whether program_invocation_short_name is defined])
134 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
137 program_invocation_short_name = "test";
140 AC_DEFINE([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [1],
141 [Define if program_invocation_short_name is defined])
146 # Look for prctl(PR_SET_NAME).
149 [AC_DEFINE([HAVE_PR_SET_NAME], [1], [Define if PR_SET_NAME is defined])],
151 [#include <sys/prctl.h>]
154 AM_CONDITIONAL([HAVE_SHA2], [test "x$ac_cv_header_sha2_h" = xyes || \
155 test "x$ac_cv_header_sha256_h" = xyes])
157 AC_CACHE_CHECK([whether getopt has optreset support],
158 ac_cv_have_getopt_optreset, [
159 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <getopt.h> ]],
160 [[ extern int optreset; optreset = 0; ]])],
161 [ ac_cv_have_getopt_optreset="yes" ],
162 [ ac_cv_have_getopt_optreset="no"
166 AM_CONDITIONAL([HAVE_GETOPT], [test "x$ac_cv_have_getopt_optreset" = "xyes"])
167 if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
168 AC_DEFINE([HAVE_GETOPT_OPTRESET], [1],
169 [Define if your getopt(3) defines and uses optreset])
172 AC_CHECK_MEMBERS([struct pollfd.fd], [], [], [[
173 #include <sys/types.h>
177 #ifdef HAVE_SYS_POLL_H
178 #include <sys/poll.h>
182 # Checks for typ edefs, structures, and compiler characteristics.
183 AC_CHECK_HEADER_STDBOOL
196 # Check for ifgroupreq which is only available on BSD.
197 AC_CHECK_TYPES([struct ifgroupreq])
199 # Check for sockaddr_storage. On some systems, ss_len is filled out, although
200 # this is not mandated by POSIX, and hence systems such as linux, don't have
202 AC_CHECK_TYPES([struct sockaddr_storage], [], [], [
203 #include <sys/types.h>
204 #include <sys/socket.h>
207 # Same thing as sockaddr_storage above, only now check if the member exists in
208 # the struct as well.
209 AC_CHECK_MEMBERS([struct sockaddr_storage.ss_len], , ,
211 #include <netinet/in.h>
212 #include <sys/socket.h> ]
215 AC_CHECK_MEMBERS([struct sockaddr.sa_len], , ,
217 #include <netinet/in.h>
218 #include <sys/socket.h> ]
221 # Both checks above will result in:
223 # HAVE_STRUCT_SOCKADDR_AS_LEN
226 # Either being defined or not.
228 # Look for library needed for flock.
229 AC_SEARCH_LIBS(flock, bsd)
231 # Checks for library functions.
234 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
278 found_sys_tree_h=yes,
280 [#include <sys/tree.h>]
283 AM_CONDITIONAL([HAVE_SETPROCTITLE], [test "x$ac_cv_func_setproctitle" = xyes])
285 if test "x$ac_cv_func_sysconf" = xyes; then
286 AC_DEFINE([HAVE_SYSCONF], [1], [Define to 1 if sysconf() present])
290 AC_CHECK_FUNCS([SipHash])
291 AM_CONDITIONAL([HAVE_SIPHASH], [test "x$ac_cv_func_SipHash" = xyes])
293 # Check for functions with a compatibility implementation.
312 AM_CONDITIONAL([HAVE_CLOSEFROM], [test "x$ac_cv_func_closefrom" = xyes])
314 # Always use our getopt because 1) glibc's doesn't enforce argument order 2)
315 # musl does not set optarg to NULL for flags without arguments (although it is
316 # not required to, but it is helpful) 3) there are probably other weird
320 # Check for b64_ntop. If we have b64_ntop, we assume b64_pton as well.
321 AC_MSG_CHECKING(for b64_ntop)
322 AC_LINK_IFELSE([AC_LANG_PROGRAM(
324 #include <sys/types.h>
325 #include <netinet/in.h>
329 b64_ntop(NULL, 0, NULL, 0);
334 AC_MSG_RESULT($found_b64_ntop)
336 if test "x$found_b64_ntop" = xno; then
337 AC_MSG_CHECKING(for b64_ntop with -lresolv)
339 AC_LINK_IFELSE([AC_LANG_PROGRAM(
341 #include <sys/types.h>
342 #include <netinet/in.h>
346 b64_ntop(NULL, 0, NULL, 0);
351 AC_MSG_RESULT($found_b64_ntop)
352 libresolv_LIBS="$LIBS"
354 if test "x$found_b64_ntop" = xno; then
355 AC_MSG_CHECKING(for b64_ntop with -lnetwork)
356 LIBS="-lresolv -lnetwork"
357 AC_LINK_IFELSE([AC_LANG_PROGRAM(
359 #include <sys/types.h>
360 #include <netinet/in.h>
364 b64_ntop(NULL, 0, NULL, 0);
369 AC_MSG_RESULT($found_b64_ntop)
370 libresolv_LIBS="$LIBS"
373 AM_CONDITIONAL([HAVE_B64], [test "x$found_b64_ntop" = xyes])
374 if test "x$found_b64_ntop" = xyes; then
375 AC_DEFINE([HAVE_B64_NTOP], [1], [define if b64_ntop is present])
376 AC_SUBST(libresolv_LIBS)
381 # Check the platform we're compiling on.
382 AC_MSG_CHECKING(platform)
389 AC_MSG_RESULT(freebsd)
393 AC_MSG_RESULT(darwin)
397 AC_MSG_RESULT(netbsd)
401 AC_MSG_RESULT(openbsd)
405 AC_MSG_RESULT(dragonfly)
406 PLATFORM=dragonflybsd
409 AC_MSG_RESULT(unknown)
414 AM_CONDITIONAL([HOST_FREEBSD], [test "$PLATFORM" = "freebsd"])
415 AM_CONDITIONAL([HOST_LINUX], [test "$PLATFORM" = "linux"])
416 AM_CONDITIONAL([HOST_DARWIN], [test "$PLATFORM" = "darwin"])
417 AM_CONDITIONAL([HOST_NETBSD], [test "$PLATFORM" = "netbsd"])
418 AM_CONDITIONAL([HOST_OPENBSD], [test "$PLATFORM" = "openbsd"])
419 AM_CONDITIONAL([HOST_DRAGONFLYBSD], [test "$PLATFORM" = "dragonflybsd"])
421 # On OpenBSD, these functions are already defined, yet looking for them in
422 # this way on OpenBSD breaks <sha2.h> inclusion.
423 # FIXME: this needs addressing.
424 if test "x$PLATFORM" != "xopenbsd"; then
425 AC_CHECK_FUNCS([SHA256Update])
429 if test "YACC_OVERRIDE" = "yes" && test -n "$YACC" \
430 && ! command -v "$YACC" >/dev/null 2>&1; then
431 AC_MSG_ERROR("yacc not found: $YACC")
434 if test x"$PLATFORM" = "xdarwin"; then
435 # Check for and/or set HOMEBREW_PREFIX. brew is a common way of
436 # installing applications. The other is MacPorts.
438 # Before Apple Silicon existed (M1 onward), the paths for applications
439 # installed via homebrew was typically /usr/local. However, with M1
440 # onward, this changed to a different path.
442 # Rather than hardcode this, check for HOMEBREW_PREFIX in the
443 # environment if it's already set, and use it. Otherwise, check for
444 # brew(1) and use that. If that fails, default to /usr/local
446 # This also means that MacPorts should continue to work.
448 # But with MacPorts, we should also check --prefix, and use that if it
451 # In both cases, the variable HOMEBREW_PREFIX is used for both.
455 if test -z "$HOMEBREW_PREFIX" -o "$HOMEBREW_PREFIX" = "NONE"; then
456 # HOMEBREW_PREFIX not set, check for brew(1)
457 if command -v brew >/dev/null 2>&1; then
458 AC_MSG_NOTICE("HOMEBREW_PREFIX set via 'brew --prefix'")
459 export HOMEBREW_PREFIX="$(brew --prefix)"
462 if test -z "$HOMEBREW_PREFIX" -o "$HOMEBREW_PREFIX" = "NONE"
465 if test -z "${prefix}" -o "${prefix}" = "NONE"; then
466 export HOMEBREW_PREFIX="/usr/local"
467 HB_PREFIX="/usr/local"
468 AC_MSG_NOTICE("HOMEBREW_PREFIX defaulting to $HB_PREFIX")
470 HB_PREFIX="$(eval echo ${prefix})"
471 if test "$HB_PREFIX" = "NONE"; then
472 HB_PREFIX="/opt/local"
474 AC_MSG_NOTICE("HOMEBREW_PREFIX using --prefix")
476 export HOMEBREW_PREFIX="$HB_PREFIX"
481 AC_MSG_NOTICE("HOMEBREW_PREFIX determined as: $HOMEBREW_PREFIX")
483 if test "$YACC_OVERRIDE" = "no" && \
484 ! test -x "${HOMEBREW_PREFIX}/opt/bison/bin/bison"; then
486 "***********************************************************
487 GNU Bison not found: ${HOMEBREW_PREFIX}/opt/bison/bin/bison
488 ***********************************************************
490 Falling back to checking either /usr/local or \${prefix}"
494 AC_MSG_WARN("Trying ${HB_PREFIX}/opt/bison/bin/bison")
495 if test -x "${HB_PREFIX}/opt/bison/bin/bison"; then
496 export HOMEBREW_PREFIX="/usr/local"
498 GNUBISON="${HB_PREFIX}/opt/bison/bin/bison"
501 if test "$FOUND_BISON" = "no"; then
502 HB_PREFIX="/opt/local"
503 AC_MSG_WARN("Trying ${HB_PREFIX}/bin/bison")
505 if test -x "${HB_PREFIX}/bin/bison"; then
506 export HOMEBREW_PREFIX="${HB_PREFIX}"
507 GNUBISON="${HB_PREFIX}/bin/bison"
513 GNUBISON="${HOMEBREW_PREFIX}/opt/bison/bin/bison"
516 if test "$FOUND_BISON" = "no" && test "$YACC_OVERRIDE" = "no"; then
517 AC_MSG_ERROR("*** Couldn't find GNU BISON ***")
520 # Override YACC here to point to the GNU version of bison.
521 if test "$YACC_OVERRIDE" = "yes"; then
522 export YACC="$YACC -y"
524 AC_MSG_NOTICE("Found GNU Bison as: $GNUBISON")
525 export YACC="${GNUBISON} -y"
527 export LDFLAGS="-L${HOMEBREW_PREFIX}/opt/ncurses/lib -L${HOMEBREW_PREFIX}/opt/openssl@3/lib $LDFLAGS"
528 export CPPFLAGS="-I${HOMEBREW_PREFIX}/opt/ncurses/include -I${HOMEBREW_PREFIX}/opt/openssl@3/include $CPPFLAGS"
529 export PKG_CONFIG_PATH="${HOMEBREW_PREFIX}/opt/ncurses/lib/pkgconfig"
530 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${HOMEBREW_PREFIX}/opt/openssl@3/lib/pkgconfig"
533 # Landlock detection.
534 AC_MSG_CHECKING([for landlock])
535 AM_CONDITIONAL([HAVE_LINUX_LANDLOCK],
536 [test "x$ac_cv_header_linux_landlock_h" = "xyes"])
537 if test "x$ac_cv_header_linux_landlock_h" = "xyes"; then
543 # Clang sanitizers wrap reallocarray even if it isn't available on the target
544 # system. When compiled it always returns NULL and crashes the program. To
545 # detect this we need a more complicated test.
546 AC_MSG_CHECKING([for working reallocarray])
547 AC_RUN_IFELSE([AC_LANG_PROGRAM(
548 [#include <stdlib.h>],
549 [return (reallocarray(NULL, 1, 1) == NULL);]
552 [AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])],
553 [AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])]
555 AC_MSG_CHECKING([for working recallocarray])
556 AC_RUN_IFELSE([AC_LANG_PROGRAM(
557 [#include <stdlib.h>],
558 [return (recallocarray(NULL, 1, 1, 1) == NULL);]
561 [AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])],
562 [AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])]
565 # Look for imsg_init in libutil.
566 AC_SEARCH_LIBS(imsg_init, util, found_imsg_init=yes, found_imsg_init=no)
567 AM_CONDITIONAL([HAVE_IMSG], [test "x$found_imsg_init" = "xyes"])
568 if test "x$found_imsg_init" = "xyes"; then
569 AC_DEFINE([HAVE_IMSG], [1], [Define to 1 if imsg is declared in libutil])
570 libutil_LIBS="$ac_cv_search_imsg_init"
571 AC_SUBST(libutil_LIBS)
574 # libevent (for gotwebd). Lifted from tmux.
575 # Look for libevent. Try libevent_core or libevent with pkg-config first then
576 # look for the library.
580 [libevent_core >= 2],
582 libevent_CFLAGS="$LIBEVENT_CORE_CFLAGS"
583 libevent_LIBS="$LIBEVENT_CORE_LIBS"
584 AC_SUBST(libevent_CFLAGS)
585 AC_SUBST(libevent_LIBS)
590 if test x$found_libevent = xno; then
595 libevent_CFLAGS="$LIBEVENT_CFLAGS"
596 libevent_LIBS="$LIBEVENT_LIBS"
597 AC_SUBST(libevent_CFLAGS)
598 AC_SUBST(libevent_LIBS)
604 if test x$found_libevent = xno; then
607 [event_core event event-1.4],
612 if test "x$found_libevent" = "xyes"; then
613 libevent_LIBS="$ac_cv_search_event_init"
614 AC_SUBST(libevent_LIBS)
618 if test x$found_libevent = xno; then
621 AC_DEFINE([HAVE_EVENT2_EVENT_H], [1], [libevent2 has event.h]),
625 AC_DEFINE([HAVE_EVENT_H], [0], [libevent]),
632 if test "x$found_libevent" = xno; then
633 AC_MSG_ERROR("libevent not found")
636 AC_CHECK_FUNC([uuid_create], [found_uuid=yes], [found_uuid=no])
638 # Don't define HAVE_BSD_UUID on darwin (Apple) as this breaks the BSD API.
639 # Instead, use the UUID implementation wrapper that's in compat/ plus uuid
641 if test "x$found_uuid" = "xyes" -a "x$PLATFORM" != "darwin"; then
642 AC_DEFINE([HAVE_BSD_UUID], [1], [BSD UUID])
648 libuuid_CFLAGS="$LIBUUID_CFLAGS"
649 libuuid_LIBS="$LIBUUID_LIBS"
650 AC_SUBST(libuuid_CFLAGS)
651 AC_SUBST(libuuid_LIBS)
659 if test "x$found_libuuid" = "xno"; then
667 if test "x$found_libuuid" = "xno"; then
668 AC_MSG_ERROR("*** couldn't find uuid ***")
675 zlib_CFLAGS="$ZLIB_CFLAGS"
676 zlib_LIBS="$ZLIB_LIBS"
677 AC_SUBST(zlib_CFLAGS)
686 if test "x$found_zlib" = "xno"; then
693 if test "x$found_zlib" = "xno"; then
694 AC_MSG_ERROR("*** couldn't find zlib ***")
697 if test "$PLATFORM" = "linux"; then
702 libbsd_CFLAGS="$LIBBSD_CFLAGS"
703 libbsd_LIBS="$LIBBSD_LIBS"
704 AC_SUBST(libbsd_CFLAGS)
705 AC_SUBST(libbsd_LIBS)
706 AC_DEFINE([HAVE_LIBBSD], [1], [BSD UUID])
707 AC_DEFINE([HAVE_TREE_H], [test x"$found_sys_tree_h" = "xyes"], [HAVE_TREE_H])
710 AC_MSG_ERROR("*** couldn't find libbsd-overlay via pkg-config")
715 # Add LIBBSD_{CFLAGS,LIBS} to the environment here, as libbsd puts its
716 # header files in a non-standard location, which means the overlay for
717 # <sys/tree.h> and <sys/queue.h> won't be found.
718 CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
719 LIBS="$LIBS $LIBBSD_LIBS"
725 libmd_CFLAGS="$LIBMD_CFLAGS"
726 libmd_LIBS="$LIBMD_LIBS"
727 AC_SUBST(libmd_CFLAGS)
731 CFLAGS="$CFLAGS $LIBMD_CFLAGS"
732 LIBS="$LIBS $LIBMD_LIBS"
736 # Look for a suitable queue.h. We hope libbsd is enough, but that is missing
742 [#include <sys/queue.h>]
748 [#include <sys/queue.h>]
754 [#include <sys/queue.h>]
757 if test "x$found_queue_h" = xyes; then
758 AC_DEFINE([HAVE_QUEUE_H], [1], [sys/queue.h])
760 AC_MSG_ERROR("*** sys/queue.h missing key defines ***)
763 # Look for crypto (part of openssl)
764 # Note: libcrypto (via openssl) has a .pc file in pretty-much all distros and
765 # BSDs which we support.
770 libcrypto_CFLAGS="$LIBCRYPTO_CFLAGS"
771 libcrypto_LIBS="$LIBCRYPTO_LIBS"
772 AC_SUBST(libcrypto_CFLAGS)
773 AC_SUBST(libcrypto_LIBS)
775 AC_MSG_ERROR(["*** Couldn't find libcrypto ***"])
778 if test "x$PLATFORM" != "xopenbsd"; then
783 libtls_CFLAGS="$LIBTLS_CFLAGS"
784 libtls_LIBS="$LIBTLS_LIBS"
785 AC_SUBST(libtls_CFLAGS)
786 AC_SUBST(libtls_LIBS)
788 AC_MSG_ERROR(["*** Couldn't find libtls ***"])
792 # Look for __progname.
793 AC_MSG_CHECKING(for __progname)
794 AC_LINK_IFELSE([AC_LANG_SOURCE(
798 extern char *__progname;
800 const char *cp = __progname;
805 [AC_DEFINE([HAVE___PROGNAME], [1], [___progname]) AC_MSG_RESULT(yes)],
812 LIBPANELW_LIBS="$LIBPANELW_LIBS"
817 if test "x$found_panel" = "xno"; then
822 LIBPANELW_LIBS="$LIBPANELW_LIBS"
829 if test "x$found_panel" = "xno"; then
834 LIBPANELW_LIBS="$LIBPANELW_LIBS"
841 if test "x$found_panel" = "xno"; then
842 AC_CHECK_LIB(panelw, update_panels, [],
843 AC_MSG_ERROR([ "*** panelw not found for ncurses. ***"]),
855 if test "x$found_ncurses" = xyes; then
856 libncurses_CFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $LIBPANELW_CFLAGS"
857 libncurses_LIBS="$LIBNCURSES_LIBS $LIBTINFO_LIBS $LIBPANELW_LIBS"
858 AC_SUBST(libncurses_CFLAGS)
859 AC_SUBST(libncurses_LIBS)
866 if test "x$found_ncurses" = xyes; then
869 libncurses_CFLAGS="$LIBPANELW_CFLAGS $LIBPANEL_CFLAGS"
870 libncurses_LIBS="$LIBPANELW_LIBS -lncursesw"
871 AC_SUBST(libncurses_CFLAGS)
872 AC_SUBST(libncurses_LIBS)
876 if test "x$found_ncurses" = xyes; then
877 AC_DEFINE([HAVE_NCURSES_H], [1], [NCurses])
879 # No ncurses, try curses.
889 if test "x$found_curses" = xyes; then
890 libncurses_CFLAGS="$LIBPANELW_CFLAGS $LIBPANEL_CFLAGS"
891 libncurses_LIBS="$LIBPANELW_LIBS -lncursesw -lpanelw"
892 AC_SUBST(libncurses_CFLAGS)
893 AC_SUBST(libncurses_LIBS)
894 AC_DEFINE([HAVE_CURSES_H], [1], [Curses_h])
896 AC_MSG_ERROR("curses not found")
900 # Save our CFLAGS/CPPFLAGS/LDFLAGS for the Makefile and restore the old user
902 AC_SUBST(AM_CPPFLAGS)
903 CPPFLAGS="$SAVED_CPPFLAGS"
905 CFLAGS="$SAVED_CFLAGS"
907 LDFLAGS="$SAVED_LDFLAGS"
909 # LIBS is designed to accumulate library dependencies as checks for them are
910 # peformed, so that this can be included directly to ld(1).
912 # However, this hinders the splitting up of the library dependencies so that
913 # they're targetted just where they're needed. Flatting LIBS here ensures
914 # that this happens appropriately.
917 AH_BOTTOM([#include "got_compat2.h"])
919 AM_CONDITIONAL([CVG_ENABLED], [test "x$enable_cvg" = xyes])
921 AC_CONFIG_FILES([Makefile
928 gotd/libexec/Makefile
929 gotd/libexec/got-notify-email/Makefile
930 gotd/libexec/got-notify-http/Makefile
934 libexec/got-fetch-http/Makefile
935 libexec/got-fetch-pack/Makefile
936 libexec/got-index-pack/Makefile
937 libexec/got-read-blob/Makefile
938 libexec/got-read-commit/Makefile
939 libexec/got-read-gitconfig/Makefile
940 libexec/got-read-gotconfig/Makefile
941 libexec/got-read-object/Makefile
942 libexec/got-read-pack/Makefile
943 libexec/got-read-patch/Makefile
944 libexec/got-read-tag/Makefile
945 libexec/got-read-tree/Makefile
946 libexec/got-send-pack/Makefile
948 Makefile.common:Makefile.common.in])
950 if test "x$enable_cvg" = "xyes"; then
951 AC_CONFIG_FILES([cvg/Makefile])
956 executables="$(eval echo ${exec_prefix}/bin)"
957 helpers="$(eval echo ${libexecdir})"
958 manpages="$(eval echo ${mandir})"
959 gotdep="$GOTD_EMPTY_PATHC"
960 gotgwlep="$GITWRAPPER_LIBEXEC_PATHC"
962 if test -z "$enable_cvg"; then
966 if test -z "$gotdep"; then
970 if test -z "$gotgwlep"; then
975 Configured got-portable with:
980 Executables: ${executables}
985 Empty Path: ${gotdep}
986 Gitwrapper: ${gotgwlep}
988 Man pages: ${manpages}