]> git.lyx.org Git - features.git/commitdiff
Nuke stl_string_fwd.h
authorAngus Leeming <leeming@lyx.org>
Thu, 13 Jun 2002 12:35:36 +0000 (12:35 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 13 Jun 2002 12:35:36 +0000 (12:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4392 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
config/ChangeLog
config/lyxinclude.m4
configure.in
src/ChangeLog
src/stl_string_fwd.h [deleted file]

index 1d760af51214937ab6c67d1112d23b9447d4aad7..b7eac7d21e627a1645c79fd2add45cf46cb36b15 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-12  Angus Leeming  <leeming@lyx.org>
+
+       * configure.in: remove LYX_STL_STRING_FWD.
+
 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
 
        * INSTALL:
index 4796de5e58becba6dd4c99774e42810b16297142..13b24142b3ff6fc2dbc99a2769e579dfe1c67a32 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-12  Angus Leeming  <leeming@lyx.org>
+
+       * lyxinclude.m4 (LYX_STL_STRING_FWD): removed.
+
 2002-06-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * xforms.m4 (LYX_USE_XFORMS_IMAGE_LOADER): fix and simplify the
index cca5b39de711ad3c052884d2490fe3f76b480767..33354afc8d30a0ff3bc253834a34da3a08727a45 100644 (file)
@@ -705,28 +705,6 @@ rm -f conftest*])
 ])
 ### end of LYX_PATH_HEADER
 
-### Check for stl_string_fwd.h existence and location if it exists
-AC_DEFUN(LYX_STL_STRING_FWD,
-[ AC_CHECK_HEADER(stl_string_fwd.h,[
-  AC_CACHE_CHECK([path to stl_string_fwd.h],lyx_cv_path_stl_string_fwd_h,
-  [ cat > conftest.$ac_ext <<EOF
-#line __oline__ "configure"
-#include "confdefs.h"
-
-#include <stl_string_fwd.h>
-EOF
-lyx_cv_path_stl_string_fwd_h=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | \
-  grep 'stl_string_fwd.h'  2>/dev/null | \
-  sed -e 's/.*\(".*stl_string_fwd.h"\).*/\1/' -e "1q"`
-rm -f conftest*])
-  AC_DEFINE_UNQUOTED(STL_STRING_FWD_H_LOCATION,$lyx_cv_path_stl_string_fwd_h,
-[define this to the location of stl_string_fwd.h to be used with #include,
-  NOTE: Do not set it to <stl_string_fwd.h> as that will find the LyX
-       supplied version of the header.
-  e.g. <../include/stl_string_fwd.h> or better yet use an absolute path])])
-])
-
-
 dnl AC_VALIDATE_CACHE_SYSTEM_TYPE[(cmd)]
 dnl if the cache file is inconsistent with the current host,
 dnl target and build system types, execute CMD or print a default
index 71ef9e5ba8fd1468e9b7c00885c16b72ccb42fc9..b346dc75014e17c663dbde3e495370f40839485f 100644 (file)
@@ -244,10 +244,6 @@ AC_HEADER_DIRENT
 AC_HEADER_MAJOR
 AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h strings.h locale.h)
 
-# some annoying header files
-#LYX_PATH_HEADER(stl_string_fwd.h)
-LYX_STL_STRING_FWD
-
 # some standard structures
 AC_HEADER_STAT
 AC_HEADER_TIME
index 5ab5d9d756552ef1a3f4a49fc644b354804a1205..b655813d350c2d3aa1506ea1d90f1b9119a2c719 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-12  Angus Leeming  <leeming@lyx.org>
+
+       * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
+
 2002-06-13  Angus Leeming  <leeming@lyx.org>
 
        * LaTeX.C:
diff --git a/src/stl_string_fwd.h b/src/stl_string_fwd.h
deleted file mode 100644 (file)
index 3606c82..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- *           LyX, The Document Processor
- *
- *         Copyright 1995 Matthias Ettrich
- *          Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
-
-#ifndef LYX_STL_STRING_FWD_H
-#define LYX_STL_STRING_FWD_H
-
-/*
- * This file exists to appease STLPort when using included lyxstring.
- * It won't be around forever ...
- */
-
-#ifndef USE_INCLUDED_STRING
-//   include the real stl_string_fwd.h
-#  include STL_STRING_FWD_H_LOCATION
-#else
-// Hide the forward declaration of string by SGI's STL > 3.13.
-// We have to provide the declaration of__get_c_string() ourselves
-// since SGI expects it to exist and we're blocking their string declarations
-// as best we can.
-// Note that a declaration for string is still required so we have to
-// provide one via LString.h.   ARRae.
-#  include "LString.h"
-#  define __SGI_STL_STRING_FWD_H
-   static char const * __get_c_string(string const &);
-#endif // USE_INCLUDED_STRING
-
-#endif // LYX_STL_STRING_FWD_H