From ca7b5c3464b1daa17a18ba5a512b36a11fd0561e Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 7 Mar 2011 08:40:02 +0000 Subject: build system: remove check for program_invocation_name git-svn-id: svn://tug.org/texlive/trunk@21623 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/afm2pl/c-auto.in | 4 ---- Build/source/texk/afm2pl/configure | 32 -------------------------------- 2 files changed, 36 deletions(-) (limited to 'Build/source/texk/afm2pl') diff --git a/Build/source/texk/afm2pl/c-auto.in b/Build/source/texk/afm2pl/c-auto.in index 6f04cb3e55d..b0fd948194c 100644 --- a/Build/source/texk/afm2pl/c-auto.in +++ b/Build/source/texk/afm2pl/c-auto.in @@ -61,10 +61,6 @@ /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_NDIR_H -/* Define to 1 if you are using GNU libc or otherwise have global variables - `program_invocation_name' and `program_invocation_short_name'. */ -#undef HAVE_PROGRAM_INVOCATION_NAME - /* Define to 1 if you have the `putenv' function. */ #undef HAVE_PUTENV diff --git a/Build/source/texk/afm2pl/configure b/Build/source/texk/afm2pl/configure index da2cc714a32..663714ce27a 100755 --- a/Build/source/texk/afm2pl/configure +++ b/Build/source/texk/afm2pl/configure @@ -12450,38 +12450,6 @@ fi $as_echo "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is predefined" >&5 -$as_echo_n "checking whether program_invocation_name is predefined... " >&6; } -if ${kb_cv_var_program_inv_name+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -extern char *program_invocation_name; - program_invocation_name = "love"; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - kb_cv_var_program_inv_name=yes -else - kb_cv_var_program_inv_name=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_var_program_inv_name" >&5 -$as_echo "$kb_cv_var_program_inv_name" >&6; } -if test "x$kb_cv_var_program_inv_name" = xyes; then - -$as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h - fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } -- cgit v1.2.3