relocatable-prog: Fix compiler warning

2023-02-03 Thread Bruno Haible
This should fix a wrong use of 'const'. I saw a warning while building Reuben's libpaper with --enable-relocatable. 2023-02-03 Bruno Haible relocatable-prog: Fix compiler warning. * lib/progreloc.c (full_read): Use a non-const pointer. diff --git a/lib/pr

relocatable-prog: fix gcc warning on mingw

2019-04-26 Thread Bruno Haible
On mingw, I'm seeing this warning: progreloc.c:156:1: warning: ‘maybe_executable’ defined but not used [-Wunused-function] maybe_executable (const char *filename) ^~~~ This patch should fix it. 2019-04-26 Bruno Haible relocatable-prog: Fix gcc warning on

Re: relocatable-prog fix

2007-03-04 Thread Bruno Haible
progreloc.c is compiled always, even when --enable-relocatable is not specified. This is pointless. I'm fixing this: 2007-03-04 Bruno Haible <[EMAIL PROTECTED]> Compile progreloc.c only if --enable-relocatable is specified. * m4/relocatable.m4 (gl_RELOCATABLE): Arrange to compil

relocatable-prog fix

2007-03-04 Thread Bruno Haible
The module description and macros of relocatable-prog still has a problem: It compiles relocatable.c both as part of lib_SOURCES and as an AC_LIBOBJ. This leads to a link error when creating a shared library. This fixes it. 2007-03-04 Bruno Haible <[EMAIL PROTECTED]> Compile relocatable