+2002-10-04 Bruce Korb <bkorb@gnu.org>
+
+ * fixinc/inclhack.def(hpux11_abs): use format fix
+ * fixinc/fixincl.x: regenerate
+ * fixinc/tests/base/stdlib.h: accommodate new fix test
+
Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
* c-common.c (cb_register_builtins): Use really_no_inline.
/*
* Fix Command Arguments for Hpux11_Abs
*/
-static const char* apzHpux11_AbsPatch[] = { "sed",
- "-e", "s/ifndef _MATH_INCLUDED/if !defined(_MATH_INCLUDED) || defined(__GNUG__)/",
+static const char* apzHpux11_AbsPatch[] = {
+ "format",
+ "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
{ zHpux11_AbsName, zHpux11_AbsList,
apzHpux11_AbsMachs,
- HPUX11_ABS_TEST_CT, FD_MACH_ONLY,
+ HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
{ zHpux11_Size_TName, zHpux11_Size_TList,
mach = ia64-hp-hpux11*;
files = stdlib.h;
select = "ifndef _MATH_INCLUDED";
- sed = "s/ifndef _MATH_INCLUDED/if !defined(_MATH_INCLUDED) || defined(__GNUG__)/";
+ c_fix = format;
+ c_fix_arg = "if !defined(_MATH_INCLUDED) || defined(__GNUG__)";
+// sed = "s/ifndef _MATH_INCLUDED/if !defined(_MATH_INCLUDED) || defined(__GNUG__)/";
test_text = "#ifndef _MATH_INCLUDED";
};
#endif /* ARM_WCHAR_CHECK */
+#if defined( HPUX11_ABS_CHECK )
+#if !defined(_MATH_INCLUDED) || defined(__GNUG__)
+#endif /* HPUX11_ABS_CHECK */
+
+
#if defined( INT_ABORT_FREE_AND_EXIT_CHECK )
extern void abort(int);
extern void free(void*);