Skip to content
Snippets Groups Projects
Commit 53409c23 authored by Daniel Koester's avatar Daniel Koester
Browse files

Added some SUN support (-lnsl for xdr-routines)

parent 2a723980
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
/* Define to 1 if you have the `MesaGL' library (-lMesaGL). */ /* Define to 1 if you have the `MesaGL' library (-lMesaGL). */
#undef HAVE_LIBMESAGL #undef HAVE_LIBMESAGL
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL
/* Define to 1 if you have the `X11' library (-lX11). */ /* Define to 1 if you have the `X11' library (-lX11). */
#undef HAVE_LIBX11 #undef HAVE_LIBX11
...@@ -54,6 +57,9 @@ ...@@ -54,6 +57,9 @@
/* Define to 1 if you have the `pow' function. */ /* Define to 1 if you have the `pow' function. */
#undef HAVE_POW #undef HAVE_POW
/* Define to 1 if you have the <rpc/xdr.h> header file. */
#undef HAVE_RPC_XDR_H
/* Define to 1 if you have the `sqrt' function. */ /* Define to 1 if you have the `sqrt' function. */
#undef HAVE_SQRT #undef HAVE_SQRT
......
...@@ -50,7 +50,7 @@ AC_FUNC_VPRINTF ...@@ -50,7 +50,7 @@ AC_FUNC_VPRINTF
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS([malloc.h unistd.h X11/Xlib.h X11/Xutil.h],, AC_CHECK_HEADERS([malloc.h unistd.h X11/Xlib.h X11/Xutil.h],,
[AC_MSG_ERROR([Exiting...])]) [AC_MSG_ERROR([Exiting...])])
AC_CHECK_HEADERS([GL/gl.h GL/glx.h]) AC_CHECK_HEADERS([GL/gl.h GL/glx.h rpc/xdr.h])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST
...@@ -64,6 +64,8 @@ AC_PATH_XTRA ...@@ -64,6 +64,8 @@ AC_PATH_XTRA
# Prevent -g from being set here automatically... # Prevent -g from being set here automatically...
# ****************************************************************************** # ******************************************************************************
CFLAGS=
FFLAGS=
AM_CFLAGS= AM_CFLAGS=
AM_FFLAGS= AM_FFLAGS=
...@@ -81,11 +83,12 @@ plot_for_ibm=false ...@@ -81,11 +83,12 @@ plot_for_ibm=false
plot_for_tit=false plot_for_tit=false
case "$build_vendor" in case "$build_vendor" in
*sgi*) AC_MSG_RESULT([Building for SGI system, using -n32 linker flag...]) *sgi*) AC_MSG_RESULT([Building for SGI system, affects PLOT_Ansi...]);;
object_type=-n32;; *ibm*) AC_MSG_RESULT([Building for IBM system, affects PLOT_Ansi...])
*ibm*) AC_MSG_RESULT([Building for IBM system, affects PLOT_Ansi...]) plot_for_ibm=true
plot_for_ibm=true plot_for_sun=false;;
plot_for_sun=false;; *sun*) AC_MSG_RESULT([Building fo a SUN system, affects PLOT_Ansi and xdr-routines...])
AC_CHECK_LIB(nsl, main);;
esac esac
case "$build" in case "$build" in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment