Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 490266
Collapse All | Expand All

(-)a/extension/configh.in (+11 lines)
Lines 66-71 Link Here
66
/* Define to 1 if you have the <inttypes.h> header file. */
66
/* Define to 1 if you have the <inttypes.h> header file. */
67
#undef HAVE_INTTYPES_H
67
#undef HAVE_INTTYPES_H
68
68
69
/* Define to 1 if you have the <limits.h> header file. */
70
#undef HAVE_LIMITS_H
71
69
/* Define to 1 if you have the <memory.h> header file. */
72
/* Define to 1 if you have the <memory.h> header file. */
70
#undef HAVE_MEMORY_H
73
#undef HAVE_MEMORY_H
71
74
Lines 109-114 Link Here
109
   */
112
   */
110
#undef LT_OBJDIR
113
#undef LT_OBJDIR
111
114
115
/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
116
   */
117
#undef MAJOR_IN_MKDEV
118
119
/* Define to 1 if `major', `minor', and `makedev' are declared in
120
   <sysmacros.h>. */
121
#undef MAJOR_IN_SYSMACROS
122
112
/* Name of package */
123
/* Name of package */
113
#undef PACKAGE
124
#undef PACKAGE
114
125
(-)a/extension/configure (-1 / +51 lines)
Lines 13885-13891 else Link Here
13885
$as_echo "no" >&6; }
13885
$as_echo "no" >&6; }
13886
fi
13886
fi
13887
13887
13888
for ac_header in dirent.h fnmatch.h time.h sys/time.h sys/select.h
13888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
13889
$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
13890
if ${ac_cv_header_sys_types_h_makedev+:} false; then :
13891
  $as_echo_n "(cached) " >&6
13892
else
13893
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894
/* end confdefs.h.  */
13895
#include <sys/types.h>
13896
int
13897
main ()
13898
{
13899
return makedev(0, 0);
13900
  ;
13901
  return 0;
13902
}
13903
_ACEOF
13904
if ac_fn_c_try_link "$LINENO"; then :
13905
  ac_cv_header_sys_types_h_makedev=yes
13906
else
13907
  ac_cv_header_sys_types_h_makedev=no
13908
fi
13909
rm -f core conftest.err conftest.$ac_objext \
13910
    conftest$ac_exeext conftest.$ac_ext
13911
13912
fi
13913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
13914
$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
13915
13916
if test $ac_cv_header_sys_types_h_makedev = no; then
13917
ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
13918
if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
13919
13920
$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
13921
13922
fi
13923
13924
13925
13926
  if test $ac_cv_header_sys_mkdev_h = no; then
13927
    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
13928
if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
13929
13930
$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
13931
13932
fi
13933
13934
13935
  fi
13936
fi
13937
13938
for ac_header in dirent.h fnmatch.h limits.h time.h sys/time.h sys/select.h
13889
do :
13939
do :
13890
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13940
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13891
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13941
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
(-)a/extension/filefuncs.c (+6 lines)
Lines 46-51 Link Here
46
#include <sys/types.h>
46
#include <sys/types.h>
47
#include <sys/stat.h>
47
#include <sys/stat.h>
48
48
49
#ifdef MAJOR_IN_MKDEV
50
#include <sys/mkdev.h>
51
#elif defined(MAJOR_IN_SYSMACROS)
52
#include <sys/sysmacros.h>
53
#endif
54
49
#include "gawkapi.h"
55
#include "gawkapi.h"
50
56
51
#include "gettext.h"
57
#include "gettext.h"
(-)a/extension/inplace.c (-2 / +6 lines)
Lines 27-34 Link Here
27
#include <config.h>
27
#include <config.h>
28
#endif
28
#endif
29
29
30
#define _XOPEN_SOURCE
30
#ifndef _XOPEN_SOURCE
31
#define _XOPEN_SOURCE_EXTENDED
31
# define _XOPEN_SOURCE
32
#endif
33
#ifndef _XOPEN_SOURCE_EXTENDED
34
# define _XOPEN_SOURCE_EXTENDED 1
35
#endif
32
36
33
#include <stdio.h>
37
#include <stdio.h>
34
#include <assert.h>
38
#include <assert.h>
(-)a/extension/readdir.c (+4 lines)
Lines 44-49 Link Here
44
#include <sys/types.h>
44
#include <sys/types.h>
45
#include <sys/stat.h>
45
#include <sys/stat.h>
46
46
47
#ifdef HAVE_LIMITS_H
48
#include <limits.h>
49
#endif
50
47
#ifdef HAVE_DIRENT_H
51
#ifdef HAVE_DIRENT_H
48
#include <dirent.h>
52
#include <dirent.h>
49
#else
53
#else

Return to bug 490266