2009-02-16 13:56:14 +00:00
|
|
|
AC_PREREQ(2.54)
|
2005-04-19 12:05:54 +00:00
|
|
|
|
|
|
|
dnl ===========================================================================
|
|
|
|
|
2010-12-20 16:59:19 +00:00
|
|
|
m4_define(glib_minver, 2.27.5)
|
2010-11-11 12:00:26 +00:00
|
|
|
m4_define(gnome_desktop_minver, 2.91.2)
|
2005-04-19 12:05:54 +00:00
|
|
|
m4_define(pango_minver, 1.1.2)
|
2011-01-10 17:19:21 +00:00
|
|
|
m4_define(gtk_minver, 2.99.0)
|
2005-04-19 12:05:54 +00:00
|
|
|
m4_define(xml_minver, 2.4.7)
|
|
|
|
m4_define(exif_minver, 0.5.12)
|
2010-10-27 15:59:02 +00:00
|
|
|
m4_define(exempi_minver, 1.99.5)
|
2008-12-15 15:56:41 +00:00
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
|
2006-07-24 21:38:26 +00:00
|
|
|
dnl 1. If the library code has changed at all since last release, then increment revision.
|
|
|
|
dnl 2. If any interfaces have been added, then increment current and set revision to 0.
|
|
|
|
dnl Interface break is not allowed.
|
2011-02-15 19:06:51 +00:00
|
|
|
m4_define(nautilus_extension_current, 5)
|
2006-07-24 21:38:26 +00:00
|
|
|
m4_define(nautilus_extension_revision, 0)
|
|
|
|
|
2011-02-04 22:03:30 +00:00
|
|
|
AC_INIT(nautilus, 2.91.9, http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus)
|
2001-03-02 18:34:23 +00:00
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ===========================================================================
|
2001-03-02 01:08:30 +00:00
|
|
|
|
2005-01-11 09:39:27 +00:00
|
|
|
AC_CONFIG_SRCDIR(src)
|
|
|
|
AC_CONFIG_HEADERS(config.h)
|
2009-04-23 12:40:00 +00:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
1999-12-05 00:40:26 +00:00
|
|
|
|
2008-09-03 23:20:30 +00:00
|
|
|
AM_INIT_AUTOMAKE([1.9 tar-ustar])
|
2009-12-17 12:09:08 +00:00
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
1999-12-05 00:40:26 +00:00
|
|
|
AM_MAINTAINER_MODE
|
2005-01-11 09:39:27 +00:00
|
|
|
|
2006-07-24 21:38:26 +00:00
|
|
|
dnl We need to decrement current by one in the calculation of the age because
|
|
|
|
dnl the library was started with version "1:0:0" instead of "0:0:0"
|
|
|
|
AC_SUBST(NAUTILUS_EXTENSION_VERSION_INFO, [nautilus_extension_current]:[nautilus_extension_revision]:`expr [nautilus_extension_current] - 1`)
|
1999-12-05 00:40:26 +00:00
|
|
|
|
2001-10-24 17:23:35 +00:00
|
|
|
AC_C_BIGENDIAN
|
|
|
|
AC_C_CONST
|
1999-12-05 00:40:26 +00:00
|
|
|
AC_PROG_CC
|
2000-03-03 23:52:55 +00:00
|
|
|
AC_PROG_CPP
|
1999-12-05 00:40:26 +00:00
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LN_S
|
|
|
|
AC_PROG_MAKE_SET
|
2001-10-24 17:23:35 +00:00
|
|
|
AM_DISABLE_STATIC
|
2003-05-03 05:10:53 +00:00
|
|
|
AC_LIBTOOL_WIN32_DLL
|
2001-10-24 17:23:35 +00:00
|
|
|
AM_PROG_LIBTOOL
|
2003-06-11 11:05:24 +00:00
|
|
|
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
|
|
|
2010-03-09 14:06:04 +00:00
|
|
|
AC_CHECK_LIB(m, floor)
|
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2001-10-24 17:23:35 +00:00
|
|
|
|
2001-11-07 21:43:57 +00:00
|
|
|
GETTEXT_PACKAGE=nautilus
|
|
|
|
AC_SUBST(GETTEXT_PACKAGE)
|
2005-01-11 09:39:27 +00:00
|
|
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
|
|
|
|
[the gettext translation domain])
|
2001-11-07 21:43:57 +00:00
|
|
|
|
|
|
|
AM_GLIB_GNU_GETTEXT
|
2005-01-11 09:39:27 +00:00
|
|
|
GLIB_DEFINE_LOCALEDIR(GNOMELOCALEDIR)
|
2000-06-06 09:18:00 +00:00
|
|
|
|
2010-07-21 11:55:25 +00:00
|
|
|
GLIB_GSETTINGS
|
|
|
|
|
2009-02-12 23:04:57 +00:00
|
|
|
IT_PROG_INTLTOOL([0.40.1])
|
2001-10-30 00:26:25 +00:00
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2001-10-29 20:46:49 +00:00
|
|
|
|
2008-09-03 23:20:30 +00:00
|
|
|
GTK_DOC_CHECK([1.4])
|
2008-04-05 01:42:52 +00:00
|
|
|
|
|
|
|
dnl ==========================================================================
|
|
|
|
|
2000-10-04 21:01:07 +00:00
|
|
|
ENABLE_PROFILER=
|
2000-10-04 20:43:34 +00:00
|
|
|
AC_ARG_ENABLE(profiler,
|
2005-01-11 09:39:27 +00:00
|
|
|
AC_HELP_STRING([--enable-profiler], [Enable profiler]),
|
|
|
|
[ENABLE_PROFILER=1
|
|
|
|
AC_DEFINE(ENABLE_PROFILER, 1, [define to enable the profiler])])
|
2000-10-04 20:43:34 +00:00
|
|
|
|
2002-06-06 15:50:06 +00:00
|
|
|
profiling_support=off
|
2000-10-04 20:43:34 +00:00
|
|
|
if test "x$ENABLE_PROFILER" = "x1"
|
|
|
|
then
|
2002-04-19 22:28:48 +00:00
|
|
|
CFLAGS="-g -O -gdwarf-2 -finstrument-functions -D__NO_STRING_INLINES $CFLAGS"
|
|
|
|
LDFLAGS="/gnome/GNOME2/lib/libprofiler.so -lpthread $LDFLAGS"
|
2002-06-06 15:50:06 +00:00
|
|
|
profiling_support=on
|
2000-10-04 20:43:34 +00:00
|
|
|
fi
|
|
|
|
|
2000-10-04 22:09:18 +00:00
|
|
|
AC_SUBST(ENABLE_PROFILER)
|
|
|
|
AM_CONDITIONAL(ENABLE_PROFILER, test "x$ENABLE_PROFILER" = "x1")
|
2000-10-04 20:43:34 +00:00
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2001-10-31 00:31:00 +00:00
|
|
|
|
2010-12-02 12:52:39 +00:00
|
|
|
AC_ARG_ENABLE(debug,
|
|
|
|
AC_HELP_STRING([--disable-debug],[Disable debugging code]),
|
|
|
|
[
|
|
|
|
case "${enableval}" in
|
|
|
|
yes|no) enable_debug="${enableval}" ;;
|
|
|
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
|
|
|
|
esac
|
|
|
|
],
|
|
|
|
[enable_debug=yes])
|
|
|
|
|
|
|
|
if test "$enable_debug" = yes; then
|
|
|
|
AC_DEFINE(ENABLE_DEBUG, [], [Enable debug code])
|
|
|
|
else
|
|
|
|
enable_debug=no
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl ==========================================================================
|
|
|
|
|
2008-12-15 15:56:41 +00:00
|
|
|
AC_CHECK_PROGS(PERL, perl5 perl)
|
2001-10-31 00:31:00 +00:00
|
|
|
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
|
|
|
|
|
2010-10-29 17:15:47 +00:00
|
|
|
|
|
|
|
dnl ==========================================================================
|
|
|
|
dnl Check whether to build the nautilus-sendto extension
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(nst_extension,
|
|
|
|
AC_HELP_STRING([--disable-nst-extension],
|
|
|
|
[build without nautilus-sendto extension]))
|
|
|
|
if test "x$enable_nst_extension" != "xno"; then
|
|
|
|
enable_nst_extension=yes
|
|
|
|
fi
|
2011-01-11 17:13:29 +00:00
|
|
|
AM_CONDITIONAL(ENABLE_NST_EXTENSION, test "x$enable_nst_extension" != "xno")
|
2010-10-29 17:15:47 +00:00
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2001-10-31 00:31:00 +00:00
|
|
|
|
2009-02-17 10:55:00 +00:00
|
|
|
AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/param.h malloc.h)
|
2009-05-28 14:45:23 +00:00
|
|
|
AC_CHECK_FUNCS(mallopt)
|
2002-03-28 19:54:40 +00:00
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2007-06-23 15:47:08 +00:00
|
|
|
dnl libexif checking
|
2003-10-14 16:00:32 +00:00
|
|
|
|
2010-10-27 15:59:02 +00:00
|
|
|
AM_CONDITIONAL(HAVE_EXIF, false)
|
|
|
|
AC_ARG_ENABLE(libexif,
|
|
|
|
AC_HELP_STRING([--disable-libexif],
|
|
|
|
[build without libexif support]))
|
|
|
|
msg_libexif=no
|
|
|
|
if test "x$enable_libexif" != "xno"; then
|
|
|
|
PKG_CHECK_MODULES(EXIF, libexif > exif_minver, [
|
|
|
|
AM_CONDITIONAL(HAVE_EXIF, true)
|
|
|
|
AC_DEFINE(HAVE_EXIF, 1, [Define to enable EXIF support])
|
|
|
|
] msg_libexif=yes,
|
|
|
|
[AM_CONDITIONAL(HAVE_EXIF, false)])
|
|
|
|
|
|
|
|
AC_SUBST(EXIF_CFLAGS)
|
|
|
|
AC_SUBST(EXIF_LIBS)
|
|
|
|
fi
|
2005-12-12 16:59:19 +00:00
|
|
|
|
2007-07-24 10:08:34 +00:00
|
|
|
dnl ==========================================================================
|
|
|
|
dnl exempi checking
|
|
|
|
|
2008-07-21 15:11:20 +00:00
|
|
|
AM_CONDITIONAL(HAVE_EXEMPI, false)
|
|
|
|
AC_ARG_ENABLE(xmp,
|
|
|
|
AC_HELP_STRING([--disable-xmp],
|
|
|
|
[build without xmp support]))
|
|
|
|
msg_xmp=no
|
|
|
|
if test "x$enable_xmp" != "xno"; then
|
|
|
|
PKG_CHECK_MODULES(EXEMPI, exempi-2.0 >= exempi_minver, [
|
|
|
|
AM_CONDITIONAL(HAVE_EXEMPI, true)
|
|
|
|
AC_DEFINE(HAVE_EXEMPI, 1, [Define to enable xmp support])
|
2010-10-27 15:59:02 +00:00
|
|
|
] msg_xmp=yes,
|
2008-07-21 15:11:20 +00:00
|
|
|
[AM_CONDITIONAL(HAVE_EXEMPI, false)])
|
2007-07-24 10:08:34 +00:00
|
|
|
|
2008-07-21 15:11:20 +00:00
|
|
|
AC_SUBST(EXEMPI_CFLAGS)
|
|
|
|
AC_SUBST(EXEMPI_LIBS)
|
|
|
|
fi
|
2007-07-24 10:08:34 +00:00
|
|
|
|
2006-07-25 14:18:03 +00:00
|
|
|
dnl ==========================================================================
|
|
|
|
|
|
|
|
dnl ****************************
|
|
|
|
dnl *** Check for libselinux ***
|
|
|
|
dnl ****************************
|
|
|
|
|
|
|
|
SELINUX_LIBS=
|
|
|
|
msg_selinux=no
|
|
|
|
AC_CHECK_LIB(selinux, is_selinux_enabled,
|
|
|
|
[AC_CHECK_HEADERS(selinux/selinux.h,
|
|
|
|
[AC_SEARCH_LIBS(selinux_raw_to_trans_context, selinux,
|
|
|
|
[AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available])
|
|
|
|
SELINUX_LIBS="-lselinux"
|
|
|
|
msg_selinux=yes])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
AC_SUBST(SELINUX_LIBS)
|
|
|
|
|
2007-06-24 10:55:28 +00:00
|
|
|
|
|
|
|
AC_ARG_ENABLE(empty_view,
|
|
|
|
AC_HELP_STRING([--enable-empty-view], [Enable empty view]),
|
|
|
|
[ENABLE_EMPTY_VIEW=1
|
|
|
|
AC_DEFINE(ENABLE_EMPTY_VIEW, 1, [define to enable the empty view that is used for performance measurement])])
|
|
|
|
|
|
|
|
AC_SUBST(ENABLE_EMPTY_VIEW)
|
|
|
|
AM_CONDITIONAL(ENABLE_EMPTY_VIEW, test "x$ENABLE_EMPTY_VIEW" = "x1")
|
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2001-10-31 00:31:00 +00:00
|
|
|
|
2008-12-10 11:50:43 +00:00
|
|
|
AC_ARG_ENABLE(packagekit,
|
|
|
|
AC_HELP_STRING([--disable-packagekit],
|
|
|
|
[build without PackageKit support]))
|
|
|
|
msg_packagekit=no
|
|
|
|
if test "x$enable_packagekit" != "xno"; then
|
|
|
|
msg_packagekit=yes
|
|
|
|
AC_DEFINE(ENABLE_PACKAGEKIT, 1, [define to enable PackageKit mimetype installer])
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl ==========================================================================
|
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
|
2000-08-08 01:36:50 +00:00
|
|
|
|
2010-05-20 12:34:00 +00:00
|
|
|
WARNING_CFLAGS=""
|
|
|
|
|
2000-07-12 19:33:38 +00:00
|
|
|
AC_ARG_ENABLE(more-warnings,
|
2005-01-11 09:39:27 +00:00
|
|
|
AC_HELP_STRING([--enable-more-warnings], [Maximum compiler warnings]),
|
2000-08-08 01:36:50 +00:00
|
|
|
set_more_warnings="$enableval",[
|
|
|
|
if test -f $srcdir/CVSVERSION; then
|
2001-03-10 02:03:55 +00:00
|
|
|
is_cvs_version=true
|
2000-08-08 01:36:50 +00:00
|
|
|
set_more_warnings=yes
|
|
|
|
else
|
|
|
|
set_more_warnings=no
|
|
|
|
fi
|
|
|
|
])
|
2000-07-12 19:33:38 +00:00
|
|
|
AC_MSG_CHECKING(for more warnings, including -Werror)
|
|
|
|
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
|
|
|
AC_MSG_RESULT(yes)
|
2007-06-20 01:09:43 +00:00
|
|
|
WARNING_CFLAGS="\
|
2000-09-05 21:24:35 +00:00
|
|
|
-Wall \
|
2007-06-21 20:14:38 +00:00
|
|
|
-Wmissing-declarations -Wmissing-prototypes \
|
2000-07-12 19:33:38 +00:00
|
|
|
-Wnested-externs -Wpointer-arith \
|
2007-06-21 20:14:38 +00:00
|
|
|
-Wcast-align \
|
2007-06-20 01:09:43 +00:00
|
|
|
-Werror"
|
Add checks to fix things on Solaris regarding mounting, environment
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
Yes children, your Nautilus will now run and frollick in the green,
green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
|
|
|
|
2008-05-05 14:32:46 +00:00
|
|
|
for option in -Wstrict-aliasing=0 -Wno-pointer-sign; do
|
2009-04-16 13:18:47 +00:00
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
CFLAGS="$CFLAGS $option"
|
Add checks to fix things on Solaris regarding mounting, environment
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
Yes children, your Nautilus will now run and frollick in the green,
green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
|
|
|
AC_MSG_CHECKING([whether gcc understands $option])
|
Fix extra dependency that was causing the xml.h files to be generated too
* Makefile.shared: Fix extra dependency that was causing the xml.h
files to be generated too often.
* configure.in: Fix code that detects the gcc options to work even
with -O on.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(view_frame_loaded), (view_frame_failed),
(nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_handle_client_gone),
(nautilus_view_frame_new), (check_if_view_is_gone),
(nautilus_view_frame_set_to_component),
(nautilus_view_frame_get_is_underway):
Revamp set of signals to be easier to understand. Handle all
failures uniformly,
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (change_selection),
(nautilus_window_update_for_new_location),
(nautilus_window_has_really_changed),
(nautilus_window_set_state_info),
(nautilus_window_set_sidebar_panels),
(zoom_level_changed_callback), (get_history_list_callback),
(change_selection_callback), (change_status_callback),
(failed_callback), (load_underway_callback),
(load_complete_callback), (open_location_callback),
(open_location_in_new_window_callback), (title_changed_callback),
(nautilus_window_connect_view), (nautilus_window_disconnect_view):
Make more of the view management private to this file. Use the
signals by their new names. Disconnect all the signals, not just
the error-related ones.
* src/nautilus-window.c:
(nautilus_window_set_content_view_widget): Updated the debugging
check to do it with the new Bonobo UI calls.
2000-10-23 22:21:12 +00:00
|
|
|
AC_TRY_COMPILE([], [],
|
Add checks to fix things on Solaris regarding mounting, environment
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
Yes children, your Nautilus will now run and frollick in the green,
green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
|
|
|
has_option=yes,
|
|
|
|
has_option=no,)
|
2009-04-16 13:27:02 +00:00
|
|
|
if test $has_option = yes; then
|
2009-04-16 13:18:47 +00:00
|
|
|
WARNING_CFLAGS="$WARNING_CFLAGS $option"
|
Add checks to fix things on Solaris regarding mounting, environment
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
Yes children, your Nautilus will now run and frollick in the green,
green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($has_option)
|
2009-04-16 13:18:47 +00:00
|
|
|
CFLAGS="$SAVE_CFLAGS"
|
Add checks to fix things on Solaris regarding mounting, environment
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
Yes children, your Nautilus will now run and frollick in the green,
green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
|
|
|
unset has_option
|
|
|
|
unset SAVE_CFLAGS
|
|
|
|
done
|
|
|
|
unset option
|
2000-07-12 19:33:38 +00:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
|
2010-05-20 12:34:00 +00:00
|
|
|
AC_SUBST(WARNING_CFLAGS)
|
|
|
|
|
2008-12-15 15:56:41 +00:00
|
|
|
dnl ===========================================================================
|
|
|
|
|
|
|
|
dnl strftime checks
|
|
|
|
|
|
|
|
AC_TRY_RUN([#include <time.h>
|
|
|
|
int main ()
|
|
|
|
{
|
|
|
|
char buf[100];
|
|
|
|
struct tm tm = {0};
|
|
|
|
tm.tm_year = 99;
|
|
|
|
if (strftime(buf, 100, "%EY", &tm) == 4 &&
|
|
|
|
strcmp (buf, "1999")==0)
|
|
|
|
return 0;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
],
|
|
|
|
AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
|
|
|
|
)
|
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2003-06-27 16:21:36 +00:00
|
|
|
|
2010-10-27 15:59:02 +00:00
|
|
|
dnl base libs
|
|
|
|
PKG_CHECK_MODULES(BASE, [
|
|
|
|
gtk+-3.0 >= gtk_minver
|
|
|
|
glib-2.0 >= glib_minver
|
|
|
|
])
|
|
|
|
|
|
|
|
AC_SUBST(BASE_CFLAGS)
|
|
|
|
AC_SUBST(BASE_LIBS)
|
|
|
|
|
|
|
|
dnl common libs (eel, nautilus)
|
|
|
|
PKG_CHECK_MODULES(COMMON, [
|
|
|
|
gail-3.0
|
|
|
|
gnome-desktop-3.0 >= gnome_desktop_minver
|
|
|
|
libxml-2.0 >= xml_minver
|
2010-11-02 16:36:04 +00:00
|
|
|
x11
|
2010-10-27 15:59:02 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
AC_SUBST(COMMON_CFLAGS)
|
|
|
|
AC_SUBST(COMMON_LIBS)
|
|
|
|
|
|
|
|
dnl additional nautilus libs
|
|
|
|
PKG_CHECK_MODULES(NAUTILUS, [
|
|
|
|
gthread-2.0 >= glib_minver
|
|
|
|
gio-2.0 >= glib_minver
|
|
|
|
gio-unix-2.0 >= glib_minver
|
|
|
|
gsettings-desktop-schemas
|
2011-02-03 17:00:18 +00:00
|
|
|
libnotify
|
2010-10-27 15:59:02 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
AC_SUBST(NAUTILUS_CFLAGS)
|
|
|
|
AC_SUBST(NAUTILUS_LIBS)
|
2001-11-09 01:10:02 +00:00
|
|
|
|
2009-04-21 13:15:27 +00:00
|
|
|
DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
|
|
|
|
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
|
2003-11-12 23:45:24 +00:00
|
|
|
|
2007-01-11 19:16:19 +00:00
|
|
|
dnl Multimedia keys
|
|
|
|
AC_CHECK_HEADERS([X11/XF86keysym.h])
|
|
|
|
|
2010-05-13 10:50:30 +00:00
|
|
|
##################################################
|
|
|
|
# Check for introspection
|
|
|
|
##################################################
|
|
|
|
GOBJECT_INTROSPECTION_CHECK([0.6.4])
|
|
|
|
|
2005-12-12 16:59:19 +00:00
|
|
|
dnl ==========================================================================
|
|
|
|
|
|
|
|
AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(update-mimedb,
|
|
|
|
AC_HELP_STRING([--disable-update-mimedb],
|
|
|
|
[disable the update-mime-database after install [default=no]]),,
|
|
|
|
enable_update_mimedb=yes)
|
|
|
|
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
|
|
|
|
|
2005-01-11 09:39:27 +00:00
|
|
|
AC_CONFIG_FILES([
|
1999-12-05 00:40:26 +00:00
|
|
|
Makefile
|
2001-10-31 00:31:00 +00:00
|
|
|
cut-n-paste-code/Makefile
|
Move libegg stuff to cut-n-paste-code and update to the latest egg
2002-11-06 Anders Carlsson <andersca@gnu.org>
* configure.in:
* cut-n-paste-code/Makefile.am:
* cut-n-paste-code/libegg/Makefile.am:
* cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_new),
(egg_recent_item_free), (egg_recent_item_ref),
(egg_recent_item_unref), (egg_recent_item_new_from_uri),
(egg_recent_item_set_uri), (egg_recent_item_get_uri),
(egg_recent_item_peek_uri), (egg_recent_item_get_uri_utf8),
(egg_recent_item_get_uri_for_display),
(egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type),
(egg_recent_item_set_timestamp), (egg_recent_item_get_timestamp),
(egg_recent_item_get_groups), (egg_recent_item_in_group),
(egg_recent_item_add_group), (egg_recent_item_remove_group),
(egg_recent_item_set_private), (egg_recent_item_get_private),
(egg_recent_item_get_type):
* cut-n-paste-code/libegg/egg-recent-item.h:
* cut-n-paste-code/libegg/egg-recent-model.c:
(egg_recent_model_string_match), (egg_recent_model_write_raw),
(egg_recent_model_delete_from_list),
(egg_recent_model_add_new_groups), (egg_recent_model_update_item),
(egg_recent_model_read_raw), (parse_info_init), (parse_info_free),
(push_state), (pop_state), (peek_state), (start_element_handler),
(list_compare_func_mru), (list_compare_func_lru),
(end_element_handler), (text_handler), (error_handler),
(egg_recent_model_enforce_limit), (egg_recent_model_sort),
(egg_recent_model_group_match), (egg_recent_model_filter),
(egg_recent_model_monitor_list_cb),
(egg_recent_model_monitor_list),
(egg_recent_model_changed_timeout), (egg_recent_model_monitor_cb),
(egg_recent_model_monitor), (egg_recent_model_set_limit_internal),
(egg_recent_model_read), (egg_recent_model_write),
(egg_recent_model_open_file), (egg_recent_model_lock_file),
(egg_recent_model_unlock_file), (egg_recent_model_finalize),
(egg_recent_model_set_property), (egg_recent_model_get_property),
(egg_recent_model_class_init), (egg_recent_model_limit_changed),
(egg_recent_model_expiration_changed), (egg_recent_model_init),
(egg_recent_model_new), (egg_recent_model_add_full),
(egg_recent_model_add), (egg_recent_model_delete),
(egg_recent_model_get_list), (egg_recent_model_set_limit),
(egg_recent_model_get_limit), (egg_recent_model_clear),
(egg_recent_model_set_filter_mime_types),
(egg_recent_model_set_filter_groups),
(egg_recent_model_set_filter_uri_schemes),
(egg_recent_model_set_sort), (egg_recent_model_changed),
(egg_recent_model_remove_expired_list),
(egg_recent_model_remove_expired), (egg_recent_model_get_type):
* cut-n-paste-code/libegg/egg-recent-model.h:
* cut-n-paste-code/libegg/egg-recent-vfs-utils.c:
(make_valid_utf8), (istr_has_prefix), (str_has_prefix),
(uri_is_local_scheme), (handle_trailing_slashes),
(make_uri_canonical), (format_uri_for_display),
(egg_recent_vfs_format_uri_for_display),
(is_valid_scheme_character), (has_valid_scheme),
(escape_high_chars), (make_uri_from_input_internal),
(egg_recent_vfs_make_uri_from_input),
(make_uri_canonical_strip_fragment), (uris_match),
(egg_recent_vfs_uris_match), (egg_recent_vfs_get_uri_scheme):
* cut-n-paste-code/libegg/egg-recent-vfs-utils.h:
* cut-n-paste-code/libegg/egg-screen-exec.c:
(egg_screen_exec_display_string), (egg_screen_exec_environment),
(egg_screen_execute_async), (egg_screen_execute_shell),
(egg_screen_execute_command_line_async):
* cut-n-paste-code/libegg/egg-screen-exec.h:
* cut-n-paste-code/libegg/egg-screen-help.c:
(egg_help_display_on_screen),
(egg_help_display_with_doc_id_on_screen),
(egg_help_display_desktop_on_screen),
(egg_help_display_uri_on_screen):
* cut-n-paste-code/libegg/egg-screen-help.h:
* cut-n-paste-code/libegg/egg-screen-url.c:
(egg_url_show_on_screen):
* cut-n-paste-code/libegg/egg-screen-url.h:
* cut-n-paste-code/libegg/eggtreemultidnd.c:
(egg_tree_multi_drag_source_get_type),
(egg_tree_multi_drag_source_row_draggable),
(egg_tree_multi_drag_source_drag_data_delete),
(egg_tree_multi_drag_source_drag_data_get), (stop_drag_check),
(egg_tree_multi_drag_button_release_event), (selection_foreach),
(path_list_free), (set_context_data), (get_context_data),
(get_info), (egg_tree_multi_drag_drag_data_get),
(egg_tree_multi_drag_motion_event),
(egg_tree_multi_drag_button_press_event),
(egg_tree_multi_drag_add_drag_support):
* cut-n-paste-code/libegg/eggtreemultidnd.h:
* cut-n-paste-code/libegg/update-from-egg.sh:
* libnautilus-private/Makefile.am:
* libnautilus-private/egg-recent-item.c:
* libnautilus-private/egg-recent-item.h:
* libnautilus-private/egg-recent-model.c:
* libnautilus-private/egg-recent-model.h:
* libnautilus-private/egg-recent-vfs-utils.c:
* libnautilus-private/egg-recent-vfs-utils.h:
* libnautilus-private/egg-screen-exec.c:
* libnautilus-private/egg-screen-exec.h:
* libnautilus-private/egg-screen-help.c:
* libnautilus-private/egg-screen-help.h:
* libnautilus-private/egg-screen-url.c:
* libnautilus-private/egg-screen-url.h:
* libnautilus-private/eggtreemultidnd.c:
* libnautilus-private/eggtreemultidnd.h:
* libnautilus-private/nautilus-program-chooser.c: (help_cb):
* libnautilus-private/update-from-egg.sh:
* src/Makefile.am:
* src/file-manager/Makefile.am:
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-list-model.c:
* src/file-manager/fm-list-view.c:
* src/file-manager/fm-properties-window.c: (help_button_callback):
* src/file-manager/update-from-egg.sh:
* src/nautilus-bookmarks-window.c:
(nautilus_bookmarks_window_response_callback):
* src/nautilus-property-browser.c: (help_button_callback):
* src/nautilus-window-menus.c:
(help_menu_nautilus_manual_callback):
Move libegg stuff to cut-n-paste-code and update to the latest
egg versions.
2002-11-06 10:38:48 +00:00
|
|
|
cut-n-paste-code/libegg/Makefile
|
2001-10-31 00:31:00 +00:00
|
|
|
data/Makefile
|
2008-01-10 13:50:53 +00:00
|
|
|
data/icons/Makefile
|
2009-04-23 12:29:21 +00:00
|
|
|
data/nautilus.desktop.in
|
|
|
|
data/nautilus-autorun-software.desktop.in
|
2001-12-09 20:45:12 +00:00
|
|
|
docs/Makefile
|
2008-04-05 01:42:52 +00:00
|
|
|
docs/reference/Makefile
|
|
|
|
docs/reference/libnautilus-extension/Makefile
|
|
|
|
docs/reference/libnautilus-extension/version.xml
|
2008-12-15 15:56:41 +00:00
|
|
|
eel/Makefile
|
2001-10-31 00:31:00 +00:00
|
|
|
icons/Makefile
|
|
|
|
libnautilus-private/Makefile
|
2004-01-11 20:35:02 +00:00
|
|
|
libnautilus-extension/Makefile
|
|
|
|
libnautilus-extension/libnautilus-extension.pc
|
2007-07-21 16:22:20 +00:00
|
|
|
libnautilus-extension/libnautilus-extension-uninstalled.pc
|
2001-10-31 00:31:00 +00:00
|
|
|
po/Makefile.in
|
|
|
|
src/Makefile
|
2010-10-29 17:15:47 +00:00
|
|
|
nautilus-sendto-extension/Makefile
|
2001-10-31 00:31:00 +00:00
|
|
|
test/Makefile
|
1999-12-05 00:40:26 +00:00
|
|
|
])
|
2000-06-26 14:33:01 +00:00
|
|
|
|
2005-01-11 09:39:27 +00:00
|
|
|
AC_OUTPUT
|
|
|
|
|
2005-04-19 12:05:54 +00:00
|
|
|
dnl ==========================================================================
|
2002-06-06 15:50:06 +00:00
|
|
|
echo "
|
|
|
|
nautilus-$VERSION:
|
|
|
|
|
|
|
|
prefix: ${prefix}
|
|
|
|
source code location: ${srcdir}
|
|
|
|
compiler: ${CC}
|
2010-10-27 15:59:02 +00:00
|
|
|
libexif support: $msg_libexif
|
|
|
|
libexempi support: $msg_xmp
|
2008-12-10 11:50:43 +00:00
|
|
|
PackageKit support: $msg_packagekit
|
2010-10-29 17:15:47 +00:00
|
|
|
nautilus-sendto ext: $enable_nst_extension
|
2002-06-06 15:50:06 +00:00
|
|
|
|
|
|
|
profiling support: ${profiling_support}
|
2011-01-10 16:56:25 +00:00
|
|
|
debugging support: ${enable_debug}
|
2008-04-05 01:42:52 +00:00
|
|
|
nautilus-extension documentation: ${enable_gtk_doc}
|
2010-05-13 10:50:30 +00:00
|
|
|
nautilus-extension introspection: ${found_introspection}
|
2002-06-06 15:50:06 +00:00
|
|
|
"
|