Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
gau
gau-0.4.1-configure.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gau-0.4.1-configure.patch of Package gau
--- configure.in +++ configure.in @@ -12,19 +12,53 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S +AH_BOTTOM([ +#include "gaupath.h" + +#define MAX_TRY 10 +#define DEFAULT_PLAY_COMMAND "wavplay" +#define DEFAULT_SZ_COMMAND "sz" +#define DEFAULT_RZ_COMMAND "rz -r -vv" +#define DEFAULT_TELNET_COMMAND "telnet -8 -e \"\"" +#define DEFAULT_FTP_COMMAND "wget -q" +#define DEFAULT_HTTP_COMMAND "netscape " +#define DEFAULT_EDITOR "hanterm -e vi" +#define DEFAULT_SH "tcsh -l" + +#define call_prefix "atdt" +#define call_suffix "\r" +#define cancel_string "\r" + +#define DEFAULT_INITIALIZATION "atz\r" +#define DEFAULT_MODEM "/dev/modem" +#define DEFAULT_SPEED "115200" +#define DEFAULT_PARITY "NO" +#define TIME_TICK_INTERVAL 300 +#define DEFAULT_TERMINAL_FONT "-schumacher-clean-medium-r-normal--16-160-*-iso8859-1,-daewoo-*-*-*-*--16-120-*-*-c-160-ksc5601.1987-0*" + +#ifndef FLAG_NAME +#define FLAG_NAME "flag" +#endif +#ifndef FLAG_NUM +#define FLAG_NUM 6 +#endif +#ifdef __sun__ +#define _BSD_COMP +#endif +]) dnl Stealed from GTK+ if test "x$GCC" = "xyes"; then - if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then + if test -z "`echo "$CFLAGS" | grep -e "-Wall" 2> /dev/null`" ; then CFLAGS="$CFLAGS -Wall" fi if test "x$enable_ansi" = "xyes"; then - if test -z "`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`" ; then + if test -z "`echo "$CFLAGS" | grep -e "-ansi" 2> /dev/null`" ; then CFLAGS="$CFLAGS -ansi" fi - if test -z "`echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null`" ; then + if test -z "`echo "$CFLAGS" | grep -e "-pedantic" 2> /dev/null`" ; then CFLAGS="$CFLAGS -pedantic" fi fi @@ -53,15 +87,9 @@ AC_CHECK_TYPE(time_t, long) AC_CONST AC_HEADER_SYS_WAIT -AC_CHECK_HEADER(termios.h, AC_DEFINE(HAVE_TERMIOS_H)) -AC_CHECK_HEADER(stdlib.h, AC_DEFINE(HAVE_STDLIB_H)) -AC_CHECK_HEADER(fcntl.h, AC_DEFINE(HAVE_FCNTL_H)) -AC_CHECK_HEADER(unistd.h, AC_DEFINE(HAVE_UNISTD_H)) -AC_CHECK_HEADER(utmp.h, AC_DEFINE(HAVE_UTMP_H)) -AC_CHECK_HEADER(sys/time.h, AC_DEFINE(HAVE_SYS_TIME_H)) -AC_CHECK_HEADER(time.h, AC_DEFINE(HAVE_TIME_H)) +AC_CHECK_HEADERS(termios.h stdlib.h fcntl.h unistd.h utmp.h sys/time.h time.h) AC_TIME_WITH_SYS_TIME -AC_CHECK_HEADER(sys/ioctl.h, AC_DEFINE(HAVE_SYS_IOCTL_H)) +AC_CHECK_HEADERS(sys/ioctl.h) dnl @@ -72,9 +100,9 @@ AC_CHECK_HEADERS(pty.h util.h libutil.h AC_CHECK_LIB(util, openpty, [ - AC_CHECK_LIB(util, login_tty, [AC_DEFINE(HAVE_LOGIN_TTY)]) - AC_DEFINE(HAVE_OPENPTY) - AC_DEFINE(HAVE_LIBUTIL) + AC_CHECK_LIB(util, login_tty, [AC_DEFINE(HAVE_LOGIN_TTY, , [ ])]) + AC_DEFINE(HAVE_OPENPTY, , [ ]) + AC_DEFINE(HAVE_LIBUTIL, , [ ]) UTIL_LIBS="-lutil" AC_SUBST(UTIL_LIBS) ])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor