Add standard GNU files and remove unused variables from configure

This commit is contained in:
2024-11-22 15:07:01 +11:00
parent 466971f1a0
commit 2ae140f17e
4 changed files with 69 additions and 39 deletions
+34
View File
@@ -0,0 +1,34 @@
The Harriman-Peikoff Project ChangeLog
======================================
This project uses Git for version control. Detailed commit history and
changes can be viewed using Git tools or by visiting the project's
repository.
For a detailed history of changes, please refer to the Git commit log.
Example commands to view the commit history:
1. To view the commit history in the terminal:
```sh
git log
```
2. To view a specific commit:
```sh
git show <commit-hash>
```
3. To view changes between two commits:
```sh
git diff <commit-hash-1> <commit-hash-2>
```
4. To view the commit history in a graphical interface, you can use tools
like Gitk or Git GUI:
```sh
gitk
git gui
```
For more information, visit the project's repository on GitHub.
+7 -2
View File
@@ -1,4 +1,9 @@
#AM_CPPFLAGS=-I$(srcdir)/include -I$(srcdir)/core/include
SUBDIRS = core
# List of static miscellaneous files to include in the distribution
EXTRA_DIST = \
COPYING \
README \
ChangeLog \
AUTHORS \
INSTALL
+13
View File
@@ -0,0 +1,13 @@
The Harriman-Peikoff Project NEWS
=================================
Version 0.00
------------
Development version of The Harriman-Peikoff Project.
- Added core functionality.
- Included initial documentation (README, INSTALL, COPYING, AUTHORS).
- Set up the build system using autoconf and automake.
For detailed changes, please refer to the Git commit log.
Vendored
+15 -37
View File
@@ -620,7 +620,6 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
num_sensors
am__fastdepCXX_FALSE
am__fastdepCXX_TRUE
CXXDEPMODE
@@ -729,8 +728,7 @@ LIBS
CPPFLAGS
CXX
CXXFLAGS
CCC
num_sensors'
CCC'
# Initialize some variables set by options.
@@ -1371,7 +1369,6 @@ Some influential environment variables:
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
num_sensors num_sensors=<n> $num_sensors_desc
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
@@ -2519,9 +2516,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# Safety checks in case user overwritten --srcdir
@@ -2529,9 +2523,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# in this dir (build-aux)
# Init automake, and specify this program use relaxed structures.
# i.e. this program doesn't follow the gnu coding standards, and doesn't have
# ChangeLog, COPYING, AUTHORS, INSTALL, README etc. files.
# Init automake, and specify this program follows the gnu coding standards.
am__api_version='1.16'
@@ -3150,6 +3142,10 @@ END
fi
# Add standard GNU files
ac_config_files="$ac_config_files ChangeLog COPYING AUTHORS INSTALL README"
@@ -4679,11 +4675,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
if test ${ac_cv_prog_cxx_11+y}
if test ${ac_cv_prog_cxx_cxx11+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_cxx11=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -4725,11 +4721,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
if test ${ac_cv_prog_cxx_98+y}
if test ${ac_cv_prog_cxx_cxx98+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_98=no
ac_cv_prog_cxx_cxx98=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -4904,29 +4900,6 @@ fi
# AC_CHECK_HEADERS([stdio.h])
# AC_MSG_ERROR([You must set the number of sensors with num_sensors], 1))
if test "X$num_sensors" = "X"
then :
as_fn_error $? "You must set num_sensors" "$LINENO" 5
fi
if test `echo $num_sensors | grep -c '^0-9\+$'` -gt 0
then :
as_fn_error $? "num_sensors must be an integer" "$LINENO" 5
fi
if test $num_sensors -lt 1
then :
as_fn_error $? "Harikoff needs at least 1 sensor" "$LINENO" 5
fi
num_sensors_desc="Number of sensors harikoff has direct purview over"
printf "%s\n" "#define CONFIG_NUM_SENSORS $num_sensors" >>confdefs.h
ac_config_headers="$ac_config_headers config.h"
@@ -5657,6 +5630,11 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"ChangeLog") CONFIG_FILES="$CONFIG_FILES ChangeLog" ;;
"COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
"AUTHORS") CONFIG_FILES="$CONFIG_FILES AUTHORS" ;;
"INSTALL") CONFIG_FILES="$CONFIG_FILES INSTALL" ;;
"README") CONFIG_FILES="$CONFIG_FILES README" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;