]> git.lyx.org Git - lyx.git/blobdiff - configure.in
* Improve error reporting.
[lyx.git] / configure.in
index 9fbab8a483cda49492df558ba368b757a70c5d07..7b4b2c2b88346a0fa2d488ba042cc3157b662eeb 100644 (file)
@@ -54,9 +54,6 @@ AC_PROG_CC
 ### check for special systems
 AC_ISC_POSIX
 AC_AIX
-LYX_HPUX
-LYX_SUNOS4
-LYX_SCO
 
 ### Check for program extensions (.exe or nothing)
 AC_EXEEXT
@@ -207,17 +204,6 @@ esac
 
 ### Check for xforms and xpm (only if X has been found).
 if test "$have_x" = no ; then
-# We surely need these two libraries and want to check carefully the
-# version numbers...
-#LYX_PATH_XPM
-#LYX_PATH_XFORMS
-#FRONTEND_INFO=`cat <<EOF
-#    libXpm version:               ${XPM_VERSION}\n\
-#    libforms version:             ${XFORMS_VERSION}\n
-#`
-#
-#AC_SUBST(LYX_LIBS)
-#else
 LYX_ERROR(dnl
 [Cannot find X window libraries and/or headers. Check your installation.
    If you use a Linux system, check that you have installed
@@ -254,9 +240,6 @@ AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h strings.h locale.h)
 # some standard structures
 AC_HEADER_STAT
 AC_HEADER_TIME
-AC_STRUCT_ST_BLKSIZE
-AC_STRUCT_ST_BLOCKS
-AC_STRUCT_ST_RDEV
 
 # some standard types
 AC_TYPE_MODE_T
@@ -266,15 +249,6 @@ AC_TYPE_SIGNAL
 AC_TYPE_SIZE_T
 AC_TYPE_UID_T
 
-# some functions we'd like to have
-AC_ARG_WITH(broken-headers,
-    [  --with-broken-headers   define some functions on SunOS4 and SCO],
-    [lyx_broken_headers=$withval])
-if test "x$lyx_broken_headers" = "xyes"; then
-  lyx_flags="$lyx_flags broken-headers"
-  AC_DEFINE(BROKEN_HEADERS, 1,
-    [Define on SunOS 4 and SCO, were some functions are missing from the headers])
-fi
 AC_CHECK_FUNCS(snprintf vsnprintf)
 LYX_CHECK_DECL(snprintf, stdio.h)
 LYX_CHECK_DECL(vsnprintf, stdio.h)
@@ -286,8 +260,6 @@ dnl We aim to remove this eventually, since we should test as much as
 dnl possible with the compiler which will use the functions (JMarc)
 AC_LANG_C
 AC_CHECK_FUNCS(memmove memset strchr putenv setenv mkfifo mkstemp mktemp)
-# SunOS 4.1.3 does not have strerror and atexit
-AC_REPLACE_FUNCS(strerror atexit)
 AC_LANG_CPLUSPLUS
 
 dnl Until this is fixed in autoconf we provide our own version
@@ -315,7 +287,7 @@ Configuration\n\
 ${FRONTEND_INFO}\
   LyX binary dir:                 ${real_bindir}\n\
   LyX files dir:                  ${real_datadir}\n
-`
+EOF`
 
 AC_SUBST(VERSION_INFO)