Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
f2db0f95
Commit
f2db0f95
authored
4 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
fix sh syntax
parent
bde1b591
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+12
-12
12 additions, 12 deletions
configure
with
12 additions
and
12 deletions
configure
+
12
−
12
View file @
f2db0f95
#!/bin/sh
cd
`
dirname
"
$0
"
`
cd
$(
dirname
"
$0
"
)
||
exit
1
.
package/info
usage
()
{
...
...
@@ -21,7 +21,7 @@ Fine tuning of the installation directories:
--dynlibdir=DIR shared library files [PREFIX/lib]
--bindir=BINDIR user executables [EPREFIX/bin]
--libexecdir=DIR package-scoped executables [EPREFIX/libexec]
--libdir=DIR static library files [PREFIX/lib/
$package
]
--libdir=DIR static library files [PREFIX/lib/
66
]
--includedir=DIR C header files [PREFIX/include]
--sysconfdir=SYSDIR global configuration files [/etc]
--datarootdir=DATAROOTDIR read-only architecture-independent data root [PREFIX/share]
...
...
@@ -300,16 +300,16 @@ fi
# Add /etc/66 in the default case
if
test
-z
"
$sysconfdir
"
;
then
if
test
"
$service_adm
"
=
'$sysconfdir/66/service'
;
then
service_adm
=
'$sysconfdir/66/service'
service_adm
=
'$sysconfdir/66/service'
fi
if
test
"
$module_adm
"
=
'$sysconfdir/66/module'
;
then
service_adm
=
'$sysconfdir/66/module'
service_adm
=
'$sysconfdir/66/module'
fi
if
test
"
$service_admconf
"
=
'$sysconfdir/66/conf'
;
then
service_admconf
=
'$sysconfdir/66/conf'
service_admconf
=
'$sysconfdir/66/conf'
fi
if
test
"
$skel
"
=
'$sysconfdir/66'
;
then
skel
=
'$sysconfdir/66'
skel
=
'$sysconfdir/66'
fi
fi
...
...
@@ -338,11 +338,11 @@ for i in service_adm module_adm service_admconf skel; do
done
# check valid s6-log timestamp
if
[
$s6log_timestamp
=
=
"tai"
]
;
then
if
[
$s6log_timestamp
=
"tai"
]
;
then
s6log_timestamp
=
'0'
elif
[
$s6log_timestamp
=
=
"iso"
]
;
then
elif
[
$s6log_timestamp
=
"iso"
]
;
then
s6log_timestamp
=
'1'
elif
[
$s6log_timestamp
=
=
"none"
]
;
then
elif
[
$s6log_timestamp
=
"none"
]
;
then
s6log_timestamp
=
'2'
else
fail
"
$0
: invalid timestamp value -- valid value are: tai,iso or none"
...
...
@@ -359,7 +359,7 @@ fi
i
=
0
set
-C
while
:
;
do
i
=
$((
$
i
+
1
))
i
=
$((
i+1
))
tmpc
=
"./tmp-configure-
$$
-
$PPID
-
$i
.c"
tmpe
=
"./tmp-configure-
$$
-
$PPID
-
$i
.tmp"
2>|/dev/null
>
"
$tmpc
"
&&
break
...
...
@@ -425,7 +425,7 @@ fi
echo
"Checking for C compiler..."
trycc
${
CC
}
if
test
-n
"
$CC_AUTO
"
;
then
b
=
`
basename
"
$CC
"
`
b
=
$(
basename
"
$CC
"
)
adjust_cross
=
false
if
test
"
$b
"
!=
"
$CC
"
;
then
adjust_cross
=
true
...
...
@@ -435,7 +435,7 @@ if test -n "$CC_AUTO" ; then
if
test
"
$b
"
=
"
${
b
##
$cross
}
"
;
then
echo
"
$0
: warning: compiler
$CC
is declared as a cross-compiler for target
$target
but does not start with prefix
${
cross
}
"
1>&2
elif
$adjust_cross
;
then
cross
=
`
dirname
"
$CC
"
`
/
"
$cross
"
cross
=
$(
dirname
"
$CC
"
)
/
"
$cross
"
fi
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment