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
be596ed9
Commit
be596ed9
authored
Dec 20, 2013
by
vysheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31 from lwhsu/master
Integrate Travis CI
parents
c9346a75
07204325
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
13 deletions
+27
-13
.travis.yml
.travis.yml
+14
-0
README.md
README.md
+1
-1
configure
configure
+6
-6
configure.ac
configure.ac
+6
-6
No files found.
.travis.yml
0 → 100644
View file @
be596ed9
language
:
c
compiler
:
-
gcc
-
clang
install
:
-
sudo apt-get install libconfig8-dev
-
sudo apt-get install libreadline6-dev
-
sudo apt-get install libssl-dev
script
:
-
./configure
-
make
README.md
View file @
be596ed9
## Telegram messenger CLI
## Telegram messenger CLI
[![Build Status](https://travis-ci.org/lwhsu/tg.png)](https://travis-ci.org/lwhsu/tg)
Command-line interface for
[
Telegram
](
http://telegram.org
)
. Uses readline interface.
...
...
configure
View file @
be596ed9
...
...
@@ -3085,7 +3085,7 @@ _ACEOF
fi
EXTRA_LIBS
+
=
"
-lexecinfo"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lexecinfo"
;
fi
{
$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 :
$as_echo
"#define READLINE_GNU 1"
>>
confdefs.h
EXTRA_LIBS
+
=
"
-lreadline"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lreadline"
;
else
...
...
@@ -3181,7 +3181,7 @@ fi
$as_echo
"#define READLINE_EDIT 1"
>>
confdefs.h
EXTRA_LIBS
+
=
"
-ledit"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-ledit"
;
fi
...
...
@@ -3225,7 +3225,7 @@ fi
$as_echo
"
$ac_cv_lib_rt_clock_gettime
"
>
&6
;
}
if
test
"x
$ac_cv_lib_rt_clock_gettime
"
=
xyes
;
then
:
EXTRA_LIBS
+
=
"
-lrt"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lrt"
;
fi
...
...
@@ -3285,7 +3285,7 @@ else
as_fn_error
$?
"No libconfig found. Try --disable-libconfig"
"
$LINENO
"
5
fi
EXTRA_LIBS
+
=
"
-lconfig"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lconfig"
;
fi
else
...
...
@@ -3336,7 +3336,7 @@ else
as_fn_error
$?
"No libconfig found. Try --disable-libconfig"
"
$LINENO
"
5
fi
EXTRA_LIBS
+
=
"
-lconfig"
;
EXTRA_LIBS
=
"
${
EXTRA_LIBS
}
-lconfig"
;
fi
...
...
configure.ac
View file @
be596ed9
...
...
@@ -24,24 +24,24 @@ AC_CHECK_FUNC([backtrace],
if test "x$BT" = "x" ; then
AC_MSG_RESULT([no])
AC_CHECK_LIB([execinfo], [backtrace])
[ EXTRA_LIBS
+="
-lexecinfo" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-lexecinfo" ; ]
fi
AC_CHECK_LIB([readline], [rl_save_prompt],
[
AC_DEFINE([READLINE_GNU], [1], [Use gnu libreadline])
[ EXTRA_LIBS
+="
-lreadline" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-lreadline" ; ]
],
[
AC_CHECK_LIB([edit], [rl_set_prompt])
AC_DEFINE([READLINE_EDIT], [1], [Use libedit])
[ EXTRA_LIBS
+="
-ledit" ; ]
[ EXTRA_LIBS
="${EXTRA_LIBS}
-ledit" ; ]
]
)
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],
else
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]))
[EXTRA_LIBS
+="
-lconfig" ; ]
[EXTRA_LIBS
="${EXTRA_LIBS}
-lconfig" ; ]
fi
],[
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]))
[EXTRA_LIBS
+="
-lconfig" ; ]
[EXTRA_LIBS
="${EXTRA_LIBS}
-lconfig" ; ]
])
# 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