Skip to content

Commit

Permalink
more CMakeLists.txt header
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Feb 27, 2024
1 parent afe2353 commit 6b4f513
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# ======================================================================
# CMakeLists.txt. Generated from CMakeLists.txt.in by configure.ac.
# ======================================================================
# !!!!!!! DO NOT MODIFY THIS FILE !!!!!!!!
# EDIT CMakeLists.txt.in INSTEAD AND RE-RUN autoreconf.
# ======================================================================
# EDIT CMakeLists.txt.in INSTEAD AND RE-RUN autoreconf/autogen.sh
# ======================================================================

cmake_minimum_required(VERSION 3.14)
Expand Down
2 changes: 0 additions & 2 deletions CMakeLists.txt.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# ======================================================================
# @configure_input@
# ======================================================================

cmake_minimum_required(VERSION 3.14)

Expand Down
2 changes: 1 addition & 1 deletion buildstuff/sed-substitute
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ esac

tmqname="$outname.tmq.$$"

${SED-sed} -e "s|^\(.*\)[@]configure_input[@]|\1$outname. Generated from $inname by configure.ac.\n\1!!!!!!! DO NOT MODIFY THIS FILE !!!!!!!!\n\1EDIT $inname INSTEAD AND RE-RUN autoreconf.|g" "$@" < "$inname" > "$tmqname" || {
${SED-sed} -e "s|^\(.*\)[@]configure_input[@]|\1======================================================================\n\1$outname. Generated from $inname by configure.ac.\n\1======================================================================\n\1!!!!!!! DO NOT MODIFY THIS FILE !!!!!!!!\n\1======================================================================\n\1EDIT $inname INSTEAD AND RE-RUN autoreconf/autogen.sh\n\1======================================================================|g" "$@" < "$inname" > "$tmqname" || {
s="$?"
echo "$prog: Error running sed, exit code $s." >&2
rm -f "$tmqname"
Expand Down

0 comments on commit 6b4f513

Please sign in to comment.