diff options
| author | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-10 16:14:43 +0300 |
|---|---|---|
| committer | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-16 21:20:53 +0300 |
| commit | d880179b2a3aacae96bb4771a3c9e227ca6d5818 (patch) | |
| tree | 96730dce1e5afeef992abc6ae6884577c8ebf53c /autogen.sh | |
| parent | 496df34ee4e3861c6e9b0ee8256d575622447563 (diff) | |
| download | pcsxr-d880179b2a3aacae96bb4771a3c9e227ca6d5818.tar.gz | |
Fix compilation on linux.
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,13 +3,13 @@ # Additional options go to configure. echo "Rebuilding ./configure with autoreconf..." -if [ ! -d "include" ]; then - mkdir "include" -fi -autoreconf -f -i +for dir in include m4; do + if [ ! -d "$dir" ]; then + mkdir "$dir" + fi +done +autoreconf -f -i . if [ $? -ne 0 ]; then echo "autoreconf failed" exit $? fi - -./configure --enable-maintainer-mode "$@" |
