From b98dc2de0d544f453bfb04110f170780442535d3 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 5 Dec 2018 16:03:10 -0200 Subject: [PATCH] Ajustando para funcionar como submódulo do projeto principal. --- Makefile.in | 2 +- configure.ac | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 14abfb5..75df7b5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,7 +69,7 @@ sysconfdir=@sysconfdir@ BASEDIR=@BASEDIR@ -POTDIR=$(BASEDIR)/.pot +POTDIR=$(BASEDIR)/$(LIBNAME)/.pot OBJDIR=$(BASEDIR)/.obj/$(LIBNAME) OBJDBG=$(OBJDIR)/Debug diff --git a/configure.ac b/configure.ac index aaeb36d..c59d5b7 100644 --- a/configure.ac +++ b/configure.ac @@ -371,10 +371,11 @@ if test "$app_cv_inet_ntop" == "yes"; then fi dnl --------------------------------------------------------------------------- -dnl Output config +dnl Directory config dnl --------------------------------------------------------------------------- -AC_SUBST(BASEDIR,$ac_pwd) +AC_ARG_WITH([work-dir], [AS_HELP_STRING([--with-work-dir], [Setup work path])], [ app_cv_workdir="$withval" ],[ app_cv_workdir="$ac_pwd" ]) +AC_SUBST(BASEDIR,$app_cv_workdir) dnl --------------------------------------------------------------------------- dnl Configure which files to generate. -- libgit2 0.21.2