configure, make(その2)

 仕切りなおして、
http://homepage2.nifty.com/hippos/autoconf/index.html
このページの手順をなぞってみる。今までのページは古いautoconf対応のものなのか、自動生成されるファイルの内容が少し違っていた。

  • hello.cを準備し、autoscanを実行。

autom4te: configure.ac: no such file or directory
autoscan: /usr/bin/autom4te failed with exit status: 1
のエラーは出ないが、configure.scanが生成される。

  • 以下ライブラリに関する記述を除いてそのままの手順でconfigureし、makefileが生成され、makeを実行できた。