Re: [gtk-list] configure.in buglet in CVS glib 1.3.1



On Fri, 03 Mar 2000 09:42:40 GMT, Sebastian Wilhelmi said:

> +                AC_EGREP_HEADER([^(|.*[^a-zA-Z_])pthread_attr_init[^a-zA-Z_]],
>  			pthread.h,
>  			have_threads=posix)
>          fi
>          if test "x$have_threads" = xnone; then
> -                AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_create[^a-zA-Z_]],
> +                AC_EGREP_HEADER([^(|.*[^a-zA-Z_])pthread_attr_create[^a-zA-Z_]],

The regexp  ^(|.*[^a-zA-Z_])  doesn't work for me, but this does:

  AC_EGREP_HEADER([(^|.*[^a-zA-Z_])pthr

I think you want to have the ^ *inside* the ( | ) structure?

/Valdis



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]