Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
07204325
Commit
07204325
authored
Dec 21, 2013
by
Li-Wen Hsu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use syntax that Bourne shell also supports
parent
84e997be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
configure
configure
+6
-6
configure.ac
configure.ac
+6
-6
No files found.
configure
View file @
07204325
...
@@ -3085,7 +3085,7 @@ _ACEOF
...
@@ -3085,7 +3085,7 @@ _ACEOF
fi
fi
EXTRA_LIBS
+
=
"
-lexecinfo"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lexecinfo"
;
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for rl_save_prompt in -lreadline"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for rl_save_prompt in -lreadline"
>
&5
...
@@ -3129,7 +3129,7 @@ if test "x$ac_cv_lib_readline_rl_save_prompt" = xyes; then :
...
@@ -3129,7 +3129,7 @@ if test "x$ac_cv_lib_readline_rl_save_prompt" = xyes; then :
$as_echo
"#define READLINE_GNU 1"
>>
confdefs.h
$as_echo
"#define READLINE_GNU 1"
>>
confdefs.h
EXTRA_LIBS
+
=
"
-lreadline"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lreadline"
;
else
else
...
@@ -3181,7 +3181,7 @@ fi
...
@@ -3181,7 +3181,7 @@ fi
$as_echo
"#define READLINE_EDIT 1"
>>
confdefs.h
$as_echo
"#define READLINE_EDIT 1"
>>
confdefs.h
EXTRA_LIBS
+
=
"
-ledit"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-ledit"
;
fi
fi
...
@@ -3225,7 +3225,7 @@ fi
...
@@ -3225,7 +3225,7 @@ fi
$as_echo
"
$ac_cv_lib_rt_clock_gettime
"
>
&6
;
}
$as_echo
"
$ac_cv_lib_rt_clock_gettime
"
>
&6
;
}
if
test
"x
$ac_cv_lib_rt_clock_gettime
"
=
xyes
;
then
:
if
test
"x
$ac_cv_lib_rt_clock_gettime
"
=
xyes
;
then
:
EXTRA_LIBS
+
=
"
-lrt"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lrt"
;
fi
fi
...
@@ -3285,7 +3285,7 @@ else
...
@@ -3285,7 +3285,7 @@ else
as_fn_error
$?
"No libconfig found. Try --disable-libconfig"
"
$LINENO
"
5
as_fn_error
$?
"No libconfig found. Try --disable-libconfig"
"
$LINENO
"
5
fi
fi
EXTRA_LIBS
+
=
"
-lconfig"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lconfig"
;
fi
fi
else
else
...
@@ -3336,7 +3336,7 @@ else
...
@@ -3336,7 +3336,7 @@ else
as_fn_error
$?
"No libconfig found. Try --disable-libconfig"
"
$LINENO
"
5
as_fn_error
$?
"No libconfig found. Try --disable-libconfig"
"
$LINENO
"
5
fi
fi
EXTRA_LIBS
+
=
"
-lconfig"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lconfig"
;
fi
fi
...
...
configure.ac
View file @
07204325
...
@@ -24,24 +24,24 @@ AC_CHECK_FUNC([backtrace],
...
@@ -24,24 +24,24 @@ AC_CHECK_FUNC([backtrace],
if test "x$BT" = "x" ; then
if test "x$BT" = "x" ; then
AC_MSG_RESULT([no])
AC_MSG_RESULT([no])
AC_CHECK_LIB([execinfo], [backtrace])
AC_CHECK_LIB([execinfo], [backtrace])
[ EXTRA_LIBS
+="
-lexecinfo" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-lexecinfo" ; ]
fi
fi
AC_CHECK_LIB([readline], [rl_save_prompt],
AC_CHECK_LIB([readline], [rl_save_prompt],
[
[
AC_DEFINE([READLINE_GNU], [1], [Use gnu libreadline])
AC_DEFINE([READLINE_GNU], [1], [Use gnu libreadline])
[ EXTRA_LIBS
+="
-lreadline" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-lreadline" ; ]
],
],
[
[
AC_CHECK_LIB([edit], [rl_set_prompt])
AC_CHECK_LIB([edit], [rl_set_prompt])
AC_DEFINE([READLINE_EDIT], [1], [Use libedit])
AC_DEFINE([READLINE_EDIT], [1], [Use libedit])
[ EXTRA_LIBS
+="
-ledit" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-ledit" ; ]
]
]
)
)
AC_CHECK_LIB([rt], [clock_gettime],
AC_CHECK_LIB([rt], [clock_gettime],
[
[
[ EXTRA_LIBS
+="
-lrt" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-lrt" ; ]
],
],
[
[
]
]
...
@@ -55,12 +55,12 @@ AC_ARG_ENABLE(libconfig,[--enable-libconfig/--disable-libconfig],
...
@@ -55,12 +55,12 @@ AC_ARG_ENABLE(libconfig,[--enable-libconfig/--disable-libconfig],
else
else
AC_MSG_RESULT([enabled])
AC_MSG_RESULT([enabled])
AC_CHECK_LIB([config],[config_init],AC_DEFINE(ENABLE_LIBCONFIG,1,[enable libconfig]),AC_MSG_ERROR([No libconfig found. Try --disable-libconfig]))
AC_CHECK_LIB([config],[config_init],AC_DEFINE(ENABLE_LIBCONFIG,1,[enable libconfig]),AC_MSG_ERROR([No libconfig found. Try --disable-libconfig]))
[EXTRA_LIBS
+="
-lconfig" ; ]
[EXTRA_LIBS
="${EXTRA_LIBS}
-lconfig" ; ]
fi
fi
],[
],[
AC_MSG_RESULT([enabled])
AC_MSG_RESULT([enabled])
AC_CHECK_LIB([config],[config_init],AC_DEFINE(ENABLE_LIBCONFIG,1,[enable libconfig]),AC_MSG_ERROR([No libconfig found. Try --disable-libconfig]))
AC_CHECK_LIB([config],[config_init],AC_DEFINE(ENABLE_LIBCONFIG,1,[enable libconfig]),AC_MSG_ERROR([No libconfig found. Try --disable-libconfig]))
[EXTRA_LIBS
+="
-lconfig" ; ]
[EXTRA_LIBS
="${EXTRA_LIBS}
-lconfig" ; ]
])
])
# Checks for header files.
# Checks for header files.
...
...
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