Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
063190a5
Commit
063190a5
authored
Apr 06, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add in support so that build will at least guess which template file
should be used :)
parent
23733026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/build
src/build
+10
-0
src/template/.similar
src/template/.similar
+2
-0
No files found.
src/build
View file @
063190a5
...
@@ -15,6 +15,16 @@ fi
...
@@ -15,6 +15,16 @@ fi
ls
template
ls
template
TEMPLATE
=
generic
TEMPLATE
=
generic
#
# Use the file template/.similar to find an appropriate file
# We get the architecture from the config.guess script.
#
CONFIG
=
`./config.guess`
GUESS
=
`grep $CONFIG template/.similar 2>/dev/null`
if
[
$
GUESS
];
then
TEMPLATE
=
`echo $GUESS | sed 's/.*=//'`
fi
$
ECHO_N
"Appropriate template file [$TEMPLATE]: $ECHO_C"
$
ECHO_N
"Appropriate template file [$TEMPLATE]: $ECHO_C"
read
a
read
a
if
[
"$a."
=
" ."
]
if
[
"$a."
=
" ."
]
...
...
src/template/.similar
0 → 100644
View file @
063190a5
sparc-sun-solaris2.5=sparc_solaris-gcc
i386-unknown-freebsd3.0=freebsd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment