Living a Simple Life is a Happy Life

有饭吃,自由自在,就非常开心

How to Compile by Autotools

| Comments

虽然因为llvm的出现,开源工具链又开始慢慢进化了,但是很多项目还是需要autotools自动gen configure的,但是我每次命令都记不全,还是记一下吧

1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

echo "Running aclocal..."
aclocal || exit 1
echo "Running autoheader..."
autoheader || exit 1
echo "Running autoconf..."
autoconf || exit 1
echo "Running automake..."
automake --add-missing --copy || exit 1
echo "Finished."

Comments