Mercurial > geeqie
annotate configure.in @ 492:dead6fb690c5
Fix adding a selection to a collection with no window open
using the sort manager. Only one file was added, now all
files in the selection are added (but duplicates).
A pointer was not reset correctly.
author | zas_ |
---|---|
date | Wed, 23 Apr 2008 09:56:21 +0000 |
parents | d2a94917ee57 |
children | bf9c9e37adf4 |
rev | line source |
---|---|
1 | 1 AC_INIT(src/main.c) |
8 | 2 AC_CONFIG_HEADER(config.h) |
7 | 3 |
487 | 4 AM_INIT_AUTOMAKE(geeqie, 1.0alpha1) |
1 | 5 |
6 AM_MAINTAINER_MODE | |
7 | |
8 AC_ISC_POSIX | |
9 AC_PROG_CC | |
177 | 10 AC_PROG_CXX |
1 | 11 AC_STDC_HEADERS |
12 AC_ARG_PROGRAM | |
13 | |
14 dnl reasonable guesses for where stuff is installed | |
15 if test "x$prefix" = "xNONE"; then | |
16 prefix="/usr/local" | |
17 else | |
18 prefix=$prefix | |
19 fi | |
20 | |
8 | 21 AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.)) |
308
6cb3c072be3f
ui_icons.h and icons_inline.h depend on gdk-pixbuf-csource,
zas_
parents:
305
diff
changeset
|
22 AC_PATH_PROGS(GDK_PIXBUF_CSOURCE, "gdk-pixbuf-csource") |
1 | 23 |
484 | 24 AC_ARG_WITH(readmedir, [ --with-readmedir=DIR install path for readme files], |
25 readmedir=$withval, readmedir="$prefix/share/doc/geeqie-$VERSION") | |
26 AC_ARG_WITH(htmldir, [ --with-htmldir=DIR install path for html files], | |
27 htmldir=$withval, htmldir="$readmedir/html") | |
28 | |
29 AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$readmedir", [Location of documentation files]) | |
30 AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$htmldir", [Location of html documentation]) | |
31 | |
32 AC_SUBST(readmedir) | |
33 AC_SUBST(htmldir) | |
1 | 34 |
8 | 35 dnl checks for functions |
276 | 36 AC_CHECK_FUNCS(strverscmp access fsync fflush) |
1 | 37 |
113
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
38 dnl check for little cms (lcms, this test pulled from gimp) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
39 AC_ARG_WITH(lcms, [ --without-lcms build without lcms support]) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
40 |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
41 have_lcms=no |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
42 if test "x$with_lcms" != "xno"; then |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
43 AC_CHECK_LIB(lcms, cmsCreate_sRGBProfile, [ |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
44 AC_CHECK_HEADER(lcms.h, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
45 have_lcms=yes, [ |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
46 AC_CHECK_HEADER(lcms/lcms.h, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
47 have_lcms=yes |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
48 AC_DEFINE(HAVE_LCMS_LCMS_H, 1, |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
49 [Define to 1 if the lcms header must be included as lcms/lcms.h])) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
50 ]) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
51 ]) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
52 if test "$have_lcms" = "yes"; then |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
53 LCMS_LIBS="-llcms" |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
54 AC_DEFINE(HAVE_LCMS, 1, [define to enable use of color profiles with lcms]) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
55 else |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
56 have_lcms="no (lcms not found or unusable)" |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
57 fi |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
58 else |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
59 have_lcms="no (lcms support disabled)" |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
60 fi |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
61 AC_SUBST(LCMS_LIBS) |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
62 AM_CONDITIONAL(HAVE_LCMS, test "$have_lcms" = "yes") |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
99
diff
changeset
|
63 |
192 | 64 AC_ARG_WITH(exiv2, [ --without-exiv2 build without exiv2 support]) |
65 | |
66 have_exiv2=no | |
67 | |
68 if test "x$with_exiv2" != "xno"; then | |
69 PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11, | |
70 [ have_exiv2=yes | |
71 AC_DEFINE(HAVE_EXIV2, 1, have exiv2) ], | |
72 [ AC_MSG_RESULT($EXIV2_PKG_ERRORS) ] ) | |
73 fi | |
74 | |
75 | |
465 | 76 ALL_LINGUAS="ar be bg ca cs da de eo es et eu fi fr hu id it ja ko nl nb pl pt_BR ro ru sk sl sv th tr uk vi zh_CN.GB2312 zh_TW" |
8 | 77 GETTEXT_PACKAGE=$PACKAGE |
78 AC_SUBST(GETTEXT_PACKAGE) | |
79 AM_GLIB_GNU_GETTEXT | |
283 | 80 AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR) |
1 | 81 |
305 | 82 #Always use -Wall with gcc |
83 if test "x$ac_cv_c_compiler_gnu" = "xyes"; then | |
84 CFLAGS="$CFLAGS -Wall" | |
85 CPPFLAGS="$CPPFLAGS -Wall" | |
86 fi | |
87 | |
1 | 88 AC_SUBST(CFLAGS) |
89 AC_SUBST(CPPFLAGS) | |
90 AC_SUBST(LDFLAGS) | |
91 | |
92 AC_OUTPUT([ | |
93 Makefile | |
94 src/Makefile | |
95 src/icons/Makefile | |
91
d063f97503b7
Wed Nov 1 11:39:48 2006 John Ellis <johne@verizon.net>
gqview
parents:
75
diff
changeset
|
96 src/icons/svg/Makefile |
8 | 97 po/Makefile.in |
98 doc/Makefile | |
197 | 99 geeqie.spec |
1 | 100 ]) |
8 | 101 |