Bladeren bron

* Use PKG_CHECK_MODULES the right way.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/cacamoo/trunk@1448 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 18 jaren geleden
bovenliggende
commit
8d8c3163d2
3 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. +1
    -1
      configure.ac
  2. +2
    -2
      src/Makefile.am
  3. +1
    -1
      src/main.c

+ 1
- 1
configure.ac Bestand weergeven

@@ -35,7 +35,7 @@ AC_CHECK_FUNCS(getopt_long,
AC_SUBST(GETOPT_LIBS)

CACA="no"
PKG_CHECK_MODULES(cucul, cucul,
PKG_CHECK_MODULES(CUCUL, cucul,
[CACA="yes"],
[AC_MSG_RESULT(no)
AC_MSG_ERROR([you need libcucul version 0.99 or later])])


+ 2
- 2
src/Makefile.am Bestand weergeven

@@ -2,6 +2,6 @@
bin_PROGRAMS = cacamoo

cacamoo_SOURCES = main.c cacamoo.h
cacamoo_CFLAGS = `pkg-config --cflags cucul`
cacamoo_LDFLAGS = `pkg-config --libs cucul`
cacamoo_CFLAGS = @CUCUL_CFLAGS@
cacamoo_LDADD = @CUCUL_LIBS@


+ 1
- 1
src/main.c Bestand weergeven

@@ -264,7 +264,7 @@ int main (int argc, char **argv)
return -1;
}
/* Export given canvas to format we want */
output_buffer = cucul_export_canvas(canvas, "ansi");
output_buffer = cucul_export_canvas(canvas, "utf8");
if(output_buffer == NULL)
{
printf("Can't export file to text !\n");


Laden…
Annuleren
Opslaan