view modules/relocatable-perl @ 40236:e3496deebf30

isatty: Make it return true in Cygwin consoles on native Windows. * lib/isatty.c: Include <string.h>. (GetProcAddress): New macro. (GetNamedPipeClientProcessIdFuncType): New type. (GetNamedPipeClientProcessIdFunc): New variable. (QueryFullProcessImageNameFuncType): New type. (QueryFullProcessImageNameFunc): New variable. (initialized): New variable. (initialize): New function. (IsCygwinConsoleHandle): New function. (isatty): Invoke it. * doc/posix-functions/isatty.texi: Mention the issue.
author Bruno Haible <bruno@clisp.org>
date Thu, 14 Mar 2019 23:54:28 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
Help make Perl scripts relocatable, that is, to allow them to
function properly when copied to an arbitrary directory.

Files:
doc/relocatable.texi
build-aux/relocatable.pl.in
m4/relocatable-lib.m4

Depends-on:

configure.ac:
AC_REQUIRE([gl_RELOCATABLE_NOP])
relocatable_pl=$ac_aux_dir/relocatable.pl.in
AC_SUBST_FILE([relocatable_pl])

Makefile.am:

Include:

License:
GPL

Maintainer:
Ben Pfaff, Reuben Thomas