Commit 07ccc5f4 authored by Henning Geinitz's avatar Henning Geinitz

Use ranlib if available. If we run AIX, don't use archives.

Henning Meier-Geinitz <henning@meier-geinitz.de>
parent f782c326
2002-04-13 Henning Meier-Geinitz <henning@meier-geinitz.de>
* src/preview.c: Really use only guint types instead of u_int??_t.
* configure configure.in lib/Makefile.in sanei/Makefile.in:
Use ranlib if available. If we run AIX, don't use archives.
2002-04-06 Henning Meier-Geinitz <henning@meier-geinitz.de>
......
This diff is collapsed.
......@@ -55,6 +55,14 @@ if test "${ac_cv_prog_gcc}" = "yes"; then
CFLAGS="${CFLAGS} -Wall"
fi
AC_CANONICAL_HOST
dnl special LDFLAGS
case "$host_os" in
aix*) #enable .so libraries, disable archives
LDFLAGS="$LDFLAGS -Wl,-brtl"
;;
esac
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h)
......@@ -79,6 +87,7 @@ AC_FUNC_MMAP
AC_CHECK_FUNCS(atexit mkdir sigprocmask strdup strndup strftime strstr \
strsep strtod snprintf usleep strcasecmp strncasecmp getenv isfdtype vsyslog)
AC_CHECK_TOOL(RANLIB, ranlib, :)
AM_PATH_SANE(1.0.0, HAVE_SANE=yes, )
dnl Print error message if sane is missing
......@@ -93,7 +102,7 @@ if test "x${HAVE_SANE}" = "x"; then
echo " searched by the dynamic linker (see INSTALL for details)"
echo "**********************************************************************"
echo ""
echo "you may need to remove $cache_file before you run configure again"
echo "You may need to remove $cache_file before you run configure again."
echo ""
exit
fi
......@@ -121,13 +130,13 @@ if test "${USE_GUI}" = "yes"; then
if test "x${HAVE_GTK}" = "x"; then
echo "****************************************************************"
echo "WARNING: GTK-0.99.13 or newer is needed for compiling"
echo " sane-frontends. If you installed gtk as rpm make sure"
echo " you also installed gtk-devel"
echo "WARNING: GTK-0.99.13 or newer is needed for compiling the GUI"
echo " frontends. If you installed gtk as rpm make sure"
echo " you also installed gtk-devel."
echo " ===> GUIs will be deactivated"
echo "****************************************************************"
echo ""
echo "you may need to remove $cache_file before you run configure again"
echo "You may need to remove $cache_file before you run configure again."
echo ""
else
BINPROGS=${BINPROGS}" "${GUIPROGS}
......
......@@ -30,6 +30,8 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
RANLIB = @RANLIB@
CC = @CC@
INCLUDES = -I. -I$(srcdir) \
-I$(top_builddir)/include/sane -I$(top_srcdir)/include
......@@ -68,6 +70,7 @@ all: $(TARGETS)
liblib.a: $(LIBLIB_OBJS)
ar r $@ $(LIBLIB_OBJS)
$(RANLIB) $@
install: all
......
......@@ -30,6 +30,8 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
RANLIB = @RANLIB@
CC = @CC@
INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
CPPFLAGS = @CPPFLAGS@
......@@ -70,6 +72,7 @@ all: $(TARGETS)
libsanei.a: $(LIBSANEI_OBJS)
ar r $@ $(LIBSANEI_OBJS)
$(RANLIB) $@
install:
......
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