From b65b9e3e614a65080b69e0594cb709fbf7a10571 Mon Sep 17 00:00:00 2001 From: Aliaksey Kandratsenka Date: Thu, 21 Mar 2024 16:59:51 -0400 Subject: [PATCH] amputate unused AC_INSTALL_PREFIX --- cmake/config.h.in | 3 --- configure.ac | 3 --- m4/install_prefix.m4 | 8 -------- vsprojects/include/config.h | 3 --- 4 files changed, 17 deletions(-) delete mode 100644 m4/install_prefix.m4 diff --git a/cmake/config.h.in b/cmake/config.h.in index dbadd2a..023ac20 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -152,9 +152,6 @@ /* Define to 1 if you have the `__sbrk' function. */ #cmakedefine01 HAVE___SBRK -/* prefix where we look for installed files */ -#cmakedefine INSTALL_PREFIX - /* Define to the sub-directory where libtool stores uninstalled libraries. */ #cmakedefine LT_OBJDIR diff --git a/configure.ac b/configure.ac index 897bfae..32b4855 100644 --- a/configure.ac +++ b/configure.ac @@ -449,9 +449,6 @@ AX_PTHREAD # Figure out where libc has program_invocation_name AC_PROGRAM_INVOCATION_NAME -# Make the install prefix available, to figure out where to look for pprof -AC_INSTALL_PREFIX - dnl only very recent mingw has sleep and nanosleep case "$host" in *-mingw*) diff --git a/m4/install_prefix.m4 b/m4/install_prefix.m4 deleted file mode 100644 index ef33f42..0000000 --- a/m4/install_prefix.m4 +++ /dev/null @@ -1,8 +0,0 @@ -AC_DEFUN([AC_INSTALL_PREFIX], - [ac_cv_install_prefix="$prefix"; - if test x"$ac_cv_install_prefix" = x"NONE" ; then - ac_cv_install_prefix="$ac_default_prefix"; - fi - AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$ac_cv_install_prefix", - [prefix where we look for installed files]) - ]) diff --git a/vsprojects/include/config.h b/vsprojects/include/config.h index 8500677..869c84f 100644 --- a/vsprojects/include/config.h +++ b/vsprojects/include/config.h @@ -164,9 +164,6 @@ /* Define to 1 if you have the `__sbrk' function. */ /* #undef HAVE___SBRK */ -/* prefix where we look for installed files */ -/* #undef INSTALL_PREFIX */ - /* Define to the sub-directory where libtool stores uninstalled libraries. */ /* #undef LT_OBJDIR */