Commit fe3154fe8908b53ec477dfe873243274b3fc9e2f

Authored by Perry Werneck
1 parent 7ee2d8ee

Ajustes para uso como módulo do projeto principal.

Showing 2 changed files with 6 additions and 6 deletions   Show diff stats
Makefile.in
... ... @@ -53,9 +53,9 @@ sysconfdir=@sysconfdir@
53 53  
54 54 BASEDIR=@BASEDIR@
55 55  
56   -POTDIR=$(BASEDIR)/.pot
  56 +POTDIR=$(BASEDIR)/lib@LIB3270_NAME@/.pot
57 57  
58   -OBJDIR=$(BASEDIR)/.obj
  58 +OBJDIR=$(BASEDIR)/.obj/lib@LIB3270_NAME@
59 59 OBJDBG=$(OBJDIR)/Debug
60 60 OBJRLS=$(OBJDIR)/Release
61 61  
... ...
configure.ac
... ... @@ -63,7 +63,6 @@ dnl ---------------------------------------------------------------------------
63 63  
64 64 DBG_CFLAGS="-g -fstack-check -DDEBUG=1"
65 65 RLS_CFLAGS="-DNDEBUG=1"
66   -PLUGINS=""
67 66 APP_RESOURCES=""
68 67 APP_LDFLAGS=""
69 68 DLL_LDFLAGS="-shared"
... ... @@ -435,12 +434,13 @@ fi
435 434  
436 435 AC_SUBST(LDAP_LIBS)
437 436  
  437 +
438 438 dnl ---------------------------------------------------------------------------
439   -dnl Output config
  439 +dnl Directory config
440 440 dnl ---------------------------------------------------------------------------
441 441  
442   -AC_SUBST(BASEDIR,$ac_pwd)
443   -AC_SUBST(PLUGINS)
  442 +AC_ARG_WITH([work-dir], [AS_HELP_STRING([--with-work-dir], [Setup work path])], [ app_cv_workdir="$withval" ],[ app_cv_workdir="$ac_pwd" ])
  443 +AC_SUBST(BASEDIR,$app_cv_workdir)
444 444  
445 445 dnl ---------------------------------------------------------------------------
446 446 dnl Configure which files to generate.
... ...