fixed wrong defintion of HAWK_UCH_PROP_ALNUM and HAWK_BCH_PROP_ALNUM
This commit is contained in:
		@ -167,8 +167,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \
 | 
				
			|||||||
	$(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \
 | 
						$(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \
 | 
				
			||||||
	$(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
 | 
						$(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
 | 
				
			||||||
	$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ac/ar-lib \
 | 
						$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ac/ar-lib \
 | 
				
			||||||
	ac/compile ac/config.guess ac/config.sub ac/install-sh \
 | 
						ac/compile ac/config.guess ac/config.sub ac/depcomp \
 | 
				
			||||||
	ac/ltmain.sh ac/missing
 | 
						ac/install-sh ac/ltmain.sh ac/missing
 | 
				
			||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 | 
					DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 | 
				
			||||||
distdir = $(PACKAGE)-$(VERSION)
 | 
					distdir = $(PACKAGE)-$(VERSION)
 | 
				
			||||||
top_distdir = $(distdir)
 | 
					top_distdir = $(distdir)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										18
									
								
								hawk/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								hawk/configure
									
									
									
									
										vendored
									
									
								
							@ -18634,7 +18634,23 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for ac_header in netinet/in.h sys/un.h netpacket/packet.h net/if_dl.h
 | 
					for ac_header in netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h
 | 
				
			||||||
 | 
					do :
 | 
				
			||||||
 | 
					  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
				
			||||||
 | 
					ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
 | 
				
			||||||
 | 
						#include <sys/types.h>
 | 
				
			||||||
 | 
						#include <sys/socket.h>
 | 
				
			||||||
 | 
					"
 | 
				
			||||||
 | 
					if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 | 
				
			||||||
 | 
					  cat >>confdefs.h <<_ACEOF
 | 
				
			||||||
 | 
					#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 | 
				
			||||||
 | 
					_ACEOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					for ac_header in sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h
 | 
				
			||||||
do :
 | 
					do :
 | 
				
			||||||
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
					  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 | 
				
			||||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 | 
					ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 | 
				
			||||||
 | 
				
			|||||||
@ -185,7 +185,10 @@ AC_CHECK_HEADERS([time.h sys/time.h utime.h spawn.h execinfo.h ucontext.h])
 | 
				
			|||||||
AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h])
 | 
					AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h])
 | 
				
			||||||
AC_CHECK_HEADERS([dlfcn.h ltdl.h sys/mman.h])
 | 
					AC_CHECK_HEADERS([dlfcn.h ltdl.h sys/mman.h])
 | 
				
			||||||
AC_CHECK_HEADERS([sys/devpoll.h sys/epoll.h poll.h sys/event.h])
 | 
					AC_CHECK_HEADERS([sys/devpoll.h sys/epoll.h poll.h sys/event.h])
 | 
				
			||||||
AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if_dl.h])
 | 
					AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h], [], [], [
 | 
				
			||||||
 | 
						#include <sys/types.h>
 | 
				
			||||||
 | 
						#include <sys/socket.h>])
 | 
				
			||||||
 | 
					AC_CHECK_HEADERS([sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h])
 | 
				
			||||||
AC_CHECK_HEADERS([ffi.h dyncall.h libunwind.h quadmath.h])
 | 
					AC_CHECK_HEADERS([ffi.h dyncall.h libunwind.h quadmath.h])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dnl check data types
 | 
					dnl check data types
 | 
				
			||||||
 | 
				
			|||||||
@ -340,7 +340,7 @@ TODO
 | 
				
			|||||||
					const hawk_ooch_t* stmp = p;
 | 
										const hawk_ooch_t* stmp = p;
 | 
				
			||||||
					unsigned int index;
 | 
										unsigned int index;
 | 
				
			||||||
					do p++; while (p < end);
 | 
										do p++; while (p < end);
 | 
				
			||||||
					if (hawk_nwifwcsntoindex (stmp, p - stmp, &index) <= -1) return -1;
 | 
										if (hawk_nwifwcsntoindex(stmp, p - stmp, &index) <= -1) return -1;
 | 
				
			||||||
					skad->in6.sin6_scope_id = index;
 | 
										skad->in6.sin6_scope_id = index;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
				
			|||||||
@ -238,6 +238,12 @@
 | 
				
			|||||||
/* Define to 1 if you have the <libunwind.h> header file. */
 | 
					/* Define to 1 if you have the <libunwind.h> header file. */
 | 
				
			||||||
#undef HAVE_LIBUNWIND_H
 | 
					#undef HAVE_LIBUNWIND_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define to 1 if you have the <linux/ethtool.h> header file. */
 | 
				
			||||||
 | 
					#undef HAVE_LINUX_ETHTOOL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define to 1 if you have the <linux/sockios.h> header file. */
 | 
				
			||||||
 | 
					#undef HAVE_LINUX_SOCKIOS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define to 1 if you have the `localtime_r' function. */
 | 
					/* Define to 1 if you have the `localtime_r' function. */
 | 
				
			||||||
#undef HAVE_LOCALTIME_R
 | 
					#undef HAVE_LOCALTIME_R
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -307,6 +313,9 @@
 | 
				
			|||||||
/* Define to 1 if you have the <net/if_dl.h> header file. */
 | 
					/* Define to 1 if you have the <net/if_dl.h> header file. */
 | 
				
			||||||
#undef HAVE_NET_IF_DL_H
 | 
					#undef HAVE_NET_IF_DL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define to 1 if you have the <net/if.h> header file. */
 | 
				
			||||||
 | 
					#undef HAVE_NET_IF_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define to 1 if you have the `pipe2' function. */
 | 
					/* Define to 1 if you have the `pipe2' function. */
 | 
				
			||||||
#undef HAVE_PIPE2
 | 
					#undef HAVE_PIPE2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -500,6 +509,9 @@
 | 
				
			|||||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
 | 
					/* Define to 1 if you have the <sys/ioctl.h> header file. */
 | 
				
			||||||
#undef HAVE_SYS_IOCTL_H
 | 
					#undef HAVE_SYS_IOCTL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define to 1 if you have the <sys/macstat.h> header file. */
 | 
				
			||||||
 | 
					#undef HAVE_SYS_MACSTAT_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define to 1 if you have the <sys/mman.h> header file. */
 | 
					/* Define to 1 if you have the <sys/mman.h> header file. */
 | 
				
			||||||
#undef HAVE_SYS_MMAN_H
 | 
					#undef HAVE_SYS_MMAN_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -513,6 +525,9 @@
 | 
				
			|||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
 | 
					/* Define to 1 if you have the <sys/stat.h> header file. */
 | 
				
			||||||
#undef HAVE_SYS_STAT_H
 | 
					#undef HAVE_SYS_STAT_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define to 1 if you have the <sys/stropts.h> header file. */
 | 
				
			||||||
 | 
					#undef HAVE_SYS_STROPTS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define to 1 if you have the <sys/syscall.h> header file. */
 | 
					/* Define to 1 if you have the <sys/syscall.h> header file. */
 | 
				
			||||||
#undef HAVE_SYS_SYSCALL_H
 | 
					#undef HAVE_SYS_SYSCALL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -52,8 +52,8 @@ enum hawk_ooch_prop_t
 | 
				
			|||||||
#define HAWK_BCH_PROP_XDIGIT HAWK_OOCH_PROP_XDIGIT
 | 
					#define HAWK_BCH_PROP_XDIGIT HAWK_OOCH_PROP_XDIGIT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	HAWK_OOCH_PROP_ALNUM  = (1 << 5),
 | 
						HAWK_OOCH_PROP_ALNUM  = (1 << 5),
 | 
				
			||||||
#define HAWK_UCH_PROP_ALNUM HAWK_OOCH_PROP_XDIGIT
 | 
					#define HAWK_UCH_PROP_ALNUM HAWK_OOCH_PROP_ALNUM
 | 
				
			||||||
#define HAWK_BCH_PROP_ALNUM HAWK_OOCH_PROP_XDIGIT
 | 
					#define HAWK_BCH_PROP_ALNUM HAWK_OOCH_PROP_ALNUM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	HAWK_OOCH_PROP_SPACE  = (1 << 6),
 | 
						HAWK_OOCH_PROP_SPACE  = (1 << 6),
 | 
				
			||||||
#define HAWK_UCH_PROP_SPACE HAWK_OOCH_PROP_SPACE
 | 
					#define HAWK_UCH_PROP_SPACE HAWK_OOCH_PROP_SPACE
 | 
				
			||||||
 | 
				
			|||||||
@ -28,13 +28,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if !defined(HAWK_DEFAULT_MODPREFIX)
 | 
					#if !defined(HAWK_DEFAULT_MODPREFIX)
 | 
				
			||||||
#	if defined(_WIN32)
 | 
					#	if defined(_WIN32)
 | 
				
			||||||
#		define HAWK_DEFAULT_MODPREFIX "hawkawk-"
 | 
					#		define HAWK_DEFAULT_MODPREFIX "hawk-"
 | 
				
			||||||
#	elif defined(__OS2__)
 | 
					#	elif defined(__OS2__)
 | 
				
			||||||
#		define HAWK_DEFAULT_MODPREFIX "awk-"
 | 
					#		define HAWK_DEFAULT_MODPREFIX "hawk"
 | 
				
			||||||
#	elif defined(__DOS__)
 | 
					#	elif defined(__DOS__)
 | 
				
			||||||
#		define HAWK_DEFAULT_MODPREFIX "awk-"
 | 
					#		define HAWK_DEFAULT_MODPREFIX "hawk"
 | 
				
			||||||
#	else
 | 
					#	else
 | 
				
			||||||
#		define HAWK_DEFAULT_MODPREFIX "libhawkawk-"
 | 
					#		define HAWK_DEFAULT_MODPREFIX "libhawk-"
 | 
				
			||||||
#	endif
 | 
					#	endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user