Commit 40863fa7 authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

Fix Solaris build, a patch from Niall Power <Niall.Power@Sun.COM>


Wed Mar 05 15:11:49 2003  George Lebl <jirka@5z.com>

	* configure.in, daemon/Makefile.am, gui/Makefile.am,
	  gui/greeter/Makefile.am, utils/Makefile.am,
	  vicious-extensions/Makefile.am, daemon/slave.c, daemon/choose.c:
	  Fix Solaris build, a patch from Niall Power <Niall.Power@Sun.COM>
parent 0be1c67c
Wed Mar 05 15:11:49 2003 George Lebl <jirka@5z.com>
* configure.in, daemon/Makefile.am, gui/Makefile.am,
gui/greeter/Makefile.am, utils/Makefile.am,
vicious-extensions/Makefile.am, daemon/slave.c, daemon/choose.c:
Fix Solaris build, a patch from Niall Power <Niall.Power@Sun.COM>
2003-03-03 Ross Golder <rossg@golder.org>
* gui/gdmlanguage.c, config/locale.alias: Added language support
......
......@@ -106,6 +106,17 @@ AC_PROG_CC
AC_STDC_HEADERS
dnl AC_ARG_PROGRAM
AM_PROG_LIBTOOL
changequote(,)dnl
if test "x$GCC" = "xyes"; then
case " $CFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
*) CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations" ;;
esac
fi
changequote([,])dnl
AC_PATH_XTRA
AC_CHECK_TYPE(socklen_t,size_t)
AC_CHECK_FUNCS(setresuid)
......
## Process this file with automake to produce makefile.in
CFLAGS = @CFLAGS@ -g -Wall \
-Wpointer-arith \
-Wmissing-prototypes -Wmissing-declarations
DEFS = @DEFS@ -DGDM_CONFIG_FILE=\"@sysconfdir@/gdm/gdm.conf\"
INCLUDES = \
......
......@@ -99,7 +99,7 @@ gdm_choose_data (const char *data)
}
p = strtok (NULL, " ");
if (p == NULL || inet_aton (p, &addr) == 0) {
if (p == NULL || inet_pton (AF_INET, p, &addr) == 0) {
g_free (msg);
return FALSE;
}
......
......@@ -144,7 +144,7 @@ static void gdm_slave_wait_for_login (void);
static void gdm_slave_greeter (void);
static void gdm_slave_chooser (void);
static void gdm_slave_session_start (void);
static void gdm_slave_session_stop (pid_t sesspid);
static void gdm_slave_session_stop (gboolean run_post_session);
static void gdm_slave_alrm_handler (int sig);
static void gdm_slave_term_handler (int sig);
static void gdm_slave_child_handler (int sig);
......
SUBDIRS = . greeter
## Process this file with automake to produce makefile.in
CFLAGS = @CFLAGS@ -g -Wall \
-Wpointer-arith \
-Wmissing-prototypes -Wmissing-declarations
DEFS = @DEFS@ -DGDM_CONFIG_FILE=\"@sysconfdir@/gdm/gdm.conf\" \
-DGDM_FACTORY_CONFIG_FILE=\"@sysconfdir@/gdm/factory-gdm.conf\" \
-DGDM_GLADE_DIR=\"@datadir@/gdm\"
......@@ -100,6 +96,7 @@ gdmsetup_LDFLAGS = -export-dynamic
gdmsetup_LDADD = \
$(GUI_LIBS) \
-lXau \
-lX11 \
$(INTLLIBS) \
-L$(top_builddir)/vicious-extensions \
-lviciousui
......
SUBDIRS = . themes
## Process this file with automake to produce makefile.in
CFLAGS = @CFLAGS@ -g -Wall \
-Wpointer-arith \
-Wmissing-prototypes -Wmissing-declarations
INCLUDES = \
-I. \
-DG_DISABLE_DEPRECATED \
......
## Process this file with automake to produce makefile.in
CFLAGS = @CFLAGS@ -g -Wall \
-Wpointer-arith \
-Wmissing-prototypes -Wmissing-declarations
DEFS = @DEFS@ -DGDM_CONFIG_FILE=\"@sysconfdir@/gdm/gdm.conf\" \
-DGDM_FACTORY_CONFIG_FILE=\"@sysconfdir@/gdm/factory-gdm.conf\" \
-DGDM_GLADE_DIR=\"@datadir@/gdm\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment