in reply to Re^2: What does chdir ?
in thread What does chdir ?

Note that once Perl exits, you will no longer be in 'core/efl'. Perl's chdir does not move the directory of the parent that started Perl. You can eliminate the chdir and combine the chdir path into the system command's path to autogen.sh with a very similar result.