-
-
Save Incognito/c79469c3dc58358ed1e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36577a36578,36631 | |
> if test "$cross_compiling" = yes; then : | |
> { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
> as_fn_error $? "cannot run test program while cross compiling | |
> See \`config.log' for more details" "$LINENO" 5 ; } | |
> else | |
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
> /* end confdefs.h. */ | |
> | |
> #include <string.h> | |
> #include <strings.h> | |
> #include <stdlib.h> | |
> | |
> int main(void) | |
> { | |
> char *s0, *s1, *ret; | |
> | |
> s0 = (char *) malloc(42); | |
> s1 = (char *) malloc(8); | |
> | |
> memset(s0, 'X', 42); | |
> s0[24] = 'Y'; | |
> s0[26] = 'Z'; | |
> s0[41] = '\0'; | |
> memset(s1, 'x', 8); | |
> s1[0] = 'y'; | |
> s1[2] = 'Z'; | |
> s1[7] = '\0'; | |
> | |
> ret = strcasestr(s0, s1); | |
> | |
> return !(NULL != ret); | |
> } | |
> | |
> _ACEOF | |
> if ac_fn_c_try_run "$LINENO"; then : | |
> | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
> $as_echo "yes" >&6; } | |
> | |
> else | |
> | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
> $as_echo "no" >&6; } | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: using libmagic strcasestr implementation" >&5 | |
> $as_echo "$as_me: using libmagic strcasestr implementation" >&6;} | |
> libmagic_sources="$libmagic_sources libmagic/strcasestr.c" | |
> | |
> fi | |
> rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
> conftest.$ac_objext conftest.beam conftest.$ac_ext | |
> fi | |
> | |
> | |
66490a66545,66579 | |
> if test "$cross_compiling" = yes; then : | |
> { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
> as_fn_error $? "cannot run test program while cross compiling | |
> See \`config.log' for more details" "$LINENO" 5 ; } | |
> else | |
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
> /* end confdefs.h. */ | |
> | |
> #include <fcntl.h> | |
> struct flock lock = { 1, 2, 3, 4, 5 }; | |
> int main() { | |
> if(lock.l_type == 1 && lock.l_whence == 2 && lock.l_start == 3 && lock.l_len == 4) { | |
> return 0; | |
> } | |
> return 1; | |
> } | |
> | |
> _ACEOF | |
> if ac_fn_c_try_run "$LINENO"; then : | |
> | |
> flock_type=linux | |
> | |
> $as_echo "#define HAVE_FLOCK_LINUX /**/" >>confdefs.h | |
> | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 | |
> $as_echo "\"yes\"" >&6; } | |
> | |
> else | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 | |
> $as_echo "\"no\"" >&6; } | |
> fi | |
> rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
> conftest.$ac_objext conftest.beam conftest.$ac_ext | |
> fi | |
66494a66584,66619 | |
> if test "$cross_compiling" = yes; then : | |
> { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
> as_fn_error $? "cannot run test program while cross compiling | |
> See \`config.log' for more details" "$LINENO" 5 ; } | |
> else | |
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
> /* end confdefs.h. */ | |
> | |
> #include <fcntl.h> | |
> struct flock lock = { 1, 2, 3, 4, 5 }; | |
> int main() { | |
> if(lock.l_start == 1 && lock.l_len == 2 && lock.l_type == 4 && lock.l_whence == 5) { | |
> return 0; | |
> } | |
> return 1; | |
> } | |
> | |
> _ACEOF | |
> if ac_fn_c_try_run "$LINENO"; then : | |
> | |
> flock_type=bsd | |
> | |
> $as_echo "#define HAVE_FLOCK_BSD /**/" >>confdefs.h | |
> | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 | |
> $as_echo "\"yes\"" >&6; } | |
> | |
> else | |
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 | |
> $as_echo "\"no\"" >&6; } | |
> fi | |
> rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
> conftest.$ac_objext conftest.beam conftest.$ac_ext | |
> fi | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment