From fe3154fe8908b53ec477dfe873243274b3fc9e2f Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 5 Dec 2018 16:00:29 -0200 Subject: [PATCH] Ajustes para uso como módulo do projeto principal. --- Makefile.in | 4 ++-- configure.ac | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4f2493c..8e768a2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,9 +53,9 @@ sysconfdir=@sysconfdir@ BASEDIR=@BASEDIR@ -POTDIR=$(BASEDIR)/.pot +POTDIR=$(BASEDIR)/lib@LIB3270_NAME@/.pot -OBJDIR=$(BASEDIR)/.obj +OBJDIR=$(BASEDIR)/.obj/lib@LIB3270_NAME@ OBJDBG=$(OBJDIR)/Debug OBJRLS=$(OBJDIR)/Release diff --git a/configure.ac b/configure.ac index e46a0ec..04ede19 100644 --- a/configure.ac +++ b/configure.ac @@ -63,7 +63,6 @@ dnl --------------------------------------------------------------------------- DBG_CFLAGS="-g -fstack-check -DDEBUG=1" RLS_CFLAGS="-DNDEBUG=1" -PLUGINS="" APP_RESOURCES="" APP_LDFLAGS="" DLL_LDFLAGS="-shared" @@ -435,12 +434,13 @@ fi AC_SUBST(LDAP_LIBS) + dnl --------------------------------------------------------------------------- -dnl Output config +dnl Directory config dnl --------------------------------------------------------------------------- -AC_SUBST(BASEDIR,$ac_pwd) -AC_SUBST(PLUGINS) +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