… | |
… | |
648 | htmldir |
648 | htmldir |
649 | infodir |
649 | infodir |
650 | docdir |
650 | docdir |
651 | oldincludedir |
651 | oldincludedir |
652 | includedir |
652 | includedir |
|
|
653 | runstatedir |
653 | localstatedir |
654 | localstatedir |
654 | sharedstatedir |
655 | sharedstatedir |
655 | sysconfdir |
656 | sysconfdir |
656 | datadir |
657 | datadir |
657 | datarootdir |
658 | datarootdir |
… | |
… | |
718 | datarootdir='${prefix}/share' |
719 | datarootdir='${prefix}/share' |
719 | datadir='${datarootdir}' |
720 | datadir='${datarootdir}' |
720 | sysconfdir='${prefix}/etc' |
721 | sysconfdir='${prefix}/etc' |
721 | sharedstatedir='${prefix}/com' |
722 | sharedstatedir='${prefix}/com' |
722 | localstatedir='${prefix}/var' |
723 | localstatedir='${prefix}/var' |
|
|
724 | runstatedir='${localstatedir}/run' |
723 | includedir='${prefix}/include' |
725 | includedir='${prefix}/include' |
724 | oldincludedir='/usr/include' |
726 | oldincludedir='/usr/include' |
725 | docdir='${datarootdir}/doc/${PACKAGE}' |
727 | docdir='${datarootdir}/doc/${PACKAGE}' |
726 | infodir='${datarootdir}/info' |
728 | infodir='${datarootdir}/info' |
727 | htmldir='${docdir}' |
729 | htmldir='${docdir}' |
… | |
… | |
970 | |
972 | |
971 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
973 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
972 | | -silent | --silent | --silen | --sile | --sil) |
974 | | -silent | --silent | --silen | --sile | --sil) |
973 | silent=yes ;; |
975 | silent=yes ;; |
974 | |
976 | |
|
|
977 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
978 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
979 | | --run | --ru | --r) |
|
|
980 | ac_prev=runstatedir ;; |
|
|
981 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
982 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
983 | | --run=* | --ru=* | --r=*) |
|
|
984 | runstatedir=$ac_optarg ;; |
|
|
985 | |
975 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
986 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
976 | ac_prev=sbindir ;; |
987 | ac_prev=sbindir ;; |
977 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
988 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
978 | | --sbi=* | --sb=*) |
989 | | --sbi=* | --sb=*) |
979 | sbindir=$ac_optarg ;; |
990 | sbindir=$ac_optarg ;; |
… | |
… | |
1107 | |
1118 | |
1108 | # Check all directory arguments for consistency. |
1119 | # Check all directory arguments for consistency. |
1109 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1120 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1110 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1121 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1111 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1122 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1112 | libdir localedir mandir |
1123 | libdir localedir mandir runstatedir |
1113 | do |
1124 | do |
1114 | eval ac_val=\$$ac_var |
1125 | eval ac_val=\$$ac_var |
1115 | # Remove trailing slashes. |
1126 | # Remove trailing slashes. |
1116 | case $ac_val in |
1127 | case $ac_val in |
1117 | */ ) |
1128 | */ ) |
… | |
… | |
1260 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1271 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1261 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1272 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1262 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1273 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1263 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1274 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1264 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1275 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1276 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1265 | --libdir=DIR object code libraries [EPREFIX/lib] |
1277 | --libdir=DIR object code libraries [EPREFIX/lib] |
1266 | --includedir=DIR C header files [PREFIX/include] |
1278 | --includedir=DIR C header files [PREFIX/include] |
1267 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1279 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1268 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1280 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1269 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1281 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
… | |
… | |
4032 | int fd = 0; |
4044 | int fd = 0; |
4033 | off_t offset = 1; |
4045 | off_t offset = 1; |
4034 | size_t count = 2; |
4046 | size_t count = 2; |
4035 | ssize_t res; |
4047 | ssize_t res; |
4036 | #if __linux |
4048 | #if __linux |
4037 | res = sendfile (fd, fd, offset, count); |
4049 | res = sendfile (fd, fd, &offset, count); |
4038 | #elif __FreeBSD__ |
4050 | #elif __FreeBSD__ |
4039 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4051 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4040 | #elif __hpux |
4052 | #elif __hpux |
4041 | res = sendfile (fd, fd, offset, count, 0, 0); |
4053 | res = sendfile (fd, fd, offset, count, 0, 0); |
4042 | #endif |
4054 | #endif |
… | |
… | |
4167 | /* end confdefs.h. */ |
4179 | /* end confdefs.h. */ |
4168 | |
4180 | |
4169 | #include <sys/prctl.h> |
4181 | #include <sys/prctl.h> |
4170 | int main (void) |
4182 | int main (void) |
4171 | { |
4183 | { |
4172 | char name = "test123"; |
4184 | char *name = "test123"; |
4173 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
4185 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
4174 | } |
4186 | } |
4175 | |
4187 | |
4176 | _ACEOF |
4188 | _ACEOF |
4177 | if ac_fn_c_try_link "$LINENO"; then : |
4189 | if ac_fn_c_try_link "$LINENO"; then : |
… | |
… | |
4304 | $as_echo "$ac_cv_linux_splice" >&6; } |
4316 | $as_echo "$ac_cv_linux_splice" >&6; } |
4305 | test $ac_cv_linux_splice = yes && |
4317 | test $ac_cv_linux_splice = yes && |
4306 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
4318 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
4307 | |
4319 | |
4308 | |
4320 | |
4309 | |
|
|
4310 | |
|
|
4311 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5 |
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5 |
4312 | $as_echo_n "checking for pipe2... " >&6; } |
4322 | $as_echo_n "checking for pipe2... " >&6; } |
4313 | if ${ac_cv_pipe2+:} false; then : |
4323 | if ${ac_cv_pipe2+:} false; then : |
4314 | $as_echo_n "(cached) " >&6 |
4324 | $as_echo_n "(cached) " >&6 |
4315 | else |
4325 | else |
… | |
… | |
4336 | fi |
4346 | fi |
4337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5 |
4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5 |
4338 | $as_echo "$ac_cv_pipe2" >&6; } |
4348 | $as_echo "$ac_cv_pipe2" >&6; } |
4339 | test $ac_cv_pipe2 = yes && |
4349 | test $ac_cv_pipe2 = yes && |
4340 | $as_echo "#define HAVE_PIPE2 1" >>confdefs.h |
4350 | $as_echo "#define HAVE_PIPE2 1" >>confdefs.h |
|
|
4351 | |
|
|
4352 | |
|
|
4353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for renameat2" >&5 |
|
|
4354 | $as_echo_n "checking for renameat2... " >&6; } |
|
|
4355 | if ${ac_cv_renameat2+:} false; then : |
|
|
4356 | $as_echo_n "(cached) " >&6 |
|
|
4357 | else |
|
|
4358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4359 | /* end confdefs.h. */ |
|
|
4360 | |
|
|
4361 | #include <unistd.h> |
|
|
4362 | #include <sys/syscall.h> |
|
|
4363 | #include <linux/fs.h> |
|
|
4364 | int res; |
|
|
4365 | int main (void) |
|
|
4366 | { |
|
|
4367 | res = syscall (SYS_renameat2, 0, 0, 0, 0, RENAME_EXCHANGE | RENAME_NOREPLACE); |
|
|
4368 | return 0; |
|
|
4369 | } |
|
|
4370 | |
|
|
4371 | _ACEOF |
|
|
4372 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4373 | ac_cv_renameat2=yes |
|
|
4374 | else |
|
|
4375 | ac_cv_renameat2=no |
|
|
4376 | fi |
|
|
4377 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4378 | conftest$ac_exeext conftest.$ac_ext |
|
|
4379 | fi |
|
|
4380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_renameat2" >&5 |
|
|
4381 | $as_echo "$ac_cv_renameat2" >&6; } |
|
|
4382 | test $ac_cv_renameat2 = yes && |
|
|
4383 | $as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h |
|
|
4384 | |
|
|
4385 | |
4341 | |
4386 | |
4342 | |
4387 | |
4343 | cat >confcache <<\_ACEOF |
4388 | cat >confcache <<\_ACEOF |
4344 | # This file is a shell script that caches the results of configure |
4389 | # This file is a shell script that caches the results of configure |
4345 | # tests run on this system so they can be shared between configure |
4390 | # tests run on this system so they can be shared between configure |